Mysql Connection Handle
#4

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).
Reply


Messages In This Thread
Mysql Connection Handle - by nezo2001 - 04.06.2015, 00:26
Re: Mysql Connection Handle - by J0sh... - 04.06.2015, 00:33
Re: Mysql Connection Handle - by Luis- - 04.06.2015, 00:39
Re: Mysql Connection Handle - by Konstantinos - 04.06.2015, 11:04

Forum Jump:


Users browsing this thread: 1 Guest(s)