Posts by John • 11 points
1 post
-
1
votes1
answer245
viewsQ: Mysql comparing a number with string returns true if the string starts with the number
I have the following table in the database: idUser - Username - Group 1 - John - 5GR 2 - Donate - 1GR And the following query: SELECT * FROM `table` WHERE `idUser` = '$name' OR `Group = '$name'…