Passing array to MySQL callback
#4

Quote:

g_mysql_handle = mysql_connect(MYSQL_HOST,MYSQL_USER,MYSQL_DATABASE ,MYSQL_PASSWORD);

mysql_function_query(g_mysql_handle, "SELECT * FROM `table` WHERE `id` = 1", false, "Test", "s", array);

first connect your sql and store the information in "g_mysql_handle" then use this in "mysql_function_query"
This is the corrent way to perform a query
Reply


Messages In This Thread
Passing array to MySQL callback - by Catalyst- - 27.08.2014, 21:04
Re: Passing array to MySQL callback - by Catalyst- - 29.08.2014, 16:00
Re: Passing array to MySQL callback - by Catalyst- - 03.09.2014, 18:53
Re: Passing array to MySQL callback - by Fred1993 - 03.09.2014, 18:59
Re: Passing array to MySQL callback - by Catalyst- - 03.09.2014, 19:09
Re: Passing array to MySQL callback - by Catalyst- - 04.09.2014, 18:15
Re: Passing array to MySQL callback - by Catalyst- - 06.09.2014, 14:35
Re: Passing array to MySQL callback - by Catalyst- - 07.09.2014, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)