04.06.2015, 11:04
https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_format
https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_query
I assume "check" is a string to store the query so you forgot the mysql connection handle to both functions. You can get the connection handle by storing the value mysql_connect returns.
Even though, I'd recommend threaded queries (mysql_tquery).
https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_query
I assume "check" is a string to store the query so you forgot the mysql connection handle to both functions. You can get the connection handle by storing the value mysql_connect returns.
Even though, I'd recommend threaded queries (mysql_tquery).