Discussion: double insert
Afficher un message
Vieux 24/09/2007, 09h51   #6
aaooo54
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: double insert

> The PHP script below inserts an record two times, the same two times.
> Why ? Any idea ?
> mysql_query("insert into listescouts (categorie,nom) values
> ('test','essai')",$link);


add timestamp to your query, you will be able to compare time of inserted
values.
if script is called two times it will be visible as two diffirent
timestamps.
regards,
R.


  Réponse avec citation
 
Page generated in 0,05608 seconds with 9 queries