How can I converte my code with R7‘s mysql_function_query
#5

Thank you first, but this is not exactly what I want.
I need to take some values usualy from the mysql DB, so I write this as an function,so In the old version, I can use like this:
Code:
 id1=MySQLCheckAccount(name1);
id2=MySQLCheckAccount(name2);
num=id+id2;
....
...
but if I let id1 and id2 as global variable.

Code:
 
MySQLCheckAccount(name1);
MySQLCheckAccount(name2);
num=id1+id2; //when the code gose to here, id1 and id2 are still NULL,becaues the query takes times! 
but it very hard to write the following code into the callbacks, due to the complicated code. 
....
...
It realy makes me crazy!!!!!!!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)