19.08.2013, 16:02
why i always get from cache_insert_id 0 my code:
so whats wrong in database everything is saving fine but returns always 0 so any ideas?
Код:
mysql_format(data, querys, sizeof(querys), "INSERT INTO `server` (ON, ONT) VALUES ('%s','%s')", date, date1); mysql_function_query(data, querys, false, "SendQuery", ""); printf("Server started %d times", cache_insert_id());