19.07.2017, 09:50
First of all, you're using mysql_query, if you intend to halt the script until the query finishes, then you used the right function, if not, then use tquery or pquery.
Its differences are explained here.
http://forum.sa-mp.com/showpost.php?...postcount=5021
Second, try to launch the query through the cli or a MySQL administration software you have on (most have phpMyAdmin)
If it doesn't return anything, then either your query is not correct or you don't have such a record.
Its differences are explained here.
http://forum.sa-mp.com/showpost.php?...postcount=5021
Second, try to launch the query through the cli or a MySQL administration software you have on (most have phpMyAdmin)
If it doesn't return anything, then either your query is not correct or you don't have such a record.