Why returns void? (mysql)
#1

PHP код:
new string1[90],string2[90]; 
new 
Cache:sqlselect mysql_query(connect,"SELECT string1,string2 FROM table WHERE ID = '1'");  // filelds: string1 and string2 are strings
cache_get_row(0,0,string1); 
cache_get_row(0,1,string2); 
cache_delete(sqlselect,connect); 
printf("%s %s",string1,string2); // returns void -  "" 
but if field 'string2' in database is integer, then normaly.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)