When I try :
SELECT * FROM user WHERE phone = 60123456789
phpMyAdmin return result but when I try :
SELECT * FROM user WHERE phone = '60123456789'
phpMyAdmin return an empty result. The column type varchar.
How do I make it working with single quote? Am I wrongly set the type in structure?
try
If that works then you have trailing spaces in your column
You can remove them using
Edit
Example:
Trailing spaces:
Leading spaces: