Function not calling
#6

Quote:
Originally Posted by SyS
View Post
You are performing INSERT query no result is returned
So basically your function is calling but it get stopped at if(!num_rows)return 1;
PHP Code:
public OnDoorsLoad()
{
    new 
num_fields,num_rows,str[512];
    
cache_get_data(num_rows,num_fields,dbhandle);
    if(!
num_rows)return 1;//here 
    //..............

as there are no rows returned num_rows is zero
ahh shit, lemme change the code and try again, i will call select after inserting data?
Reply


Messages In This Thread
Function not calling - by akib - 23.01.2019, 11:32
Re: Function not calling - by SyS - 23.01.2019, 11:44
Re: Function not calling - by akib - 23.01.2019, 11:48
Re: Function not calling - by akib - 23.01.2019, 12:04
Re: Function not calling - by SyS - 23.01.2019, 12:39
Re: Function not calling - by akib - 23.01.2019, 12:55
Re: Function not calling - by akib - 23.01.2019, 13:00

Forum Jump:


Users browsing this thread: 1 Guest(s)