31.12.2014, 02:38
Hello !
I use MySQL R39-2.
My cache_insert_id return 0.
Return 0 :/
Can u help me?
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());
Can u help me?