cache_insert_id return 0 :x
#1

Hello !

I use MySQL R39-2.

My cache_insert_id return 0.

pawn Код:
mysql_format(MySQLConnect, query, 1024, "INSERT INTO `vehs` (`ModelID`, `PosX`, `PosY`, `PosZ`, `PosA`, `Couleur1`, `Couleur2`) VALUES (%d, '%f', '%f', '%f', '%f', %d, %d)", VehInfo[entry][ModelID], VehInfo[entry][Pos][0], VehInfo[entry][Pos][1], VehInfo[entry][Pos][2], VehInfo[entry][Pos][3], couleur1, couleur2);

mysql_tquery(MySQLConnect, query);

printf("%d", cache_insert_id());
Return 0 :/

Can u help me?
Reply


Messages In This Thread
cache_insert_id return 0 :x - by Baltimore - 31.12.2014, 02:38
Re: cache_insert_id return 0 :x - by M4D - 31.12.2014, 04:52
Respuesta: cache_insert_id return 0 :x - by Zume - 31.12.2014, 05:35
Re: cache_insert_id return 0 :x - by AdmBot - 31.12.2014, 06:06
Re : cache_insert_id return 0 :x - by Baltimore - 31.12.2014, 11:40
Re: cache_insert_id return 0 :x - by Lordzy - 31.12.2014, 11:44
Re : cache_insert_id return 0 :x - by Baltimore - 31.12.2014, 12:15
Re : cache_insert_id return 0 :x - by Baltimore - 31.12.2014, 20:58
Re : cache_insert_id return 0 :x - by Dark_Rider29 - 01.01.2015, 13:34
Re: cache_insert_id return 0 :x - by Sawalha - 01.01.2015, 13:54

Forum Jump:


Users browsing this thread: 1 Guest(s)