Thread: double insert
View Single Post

   
  #8 (permalink)  
Old 02-28-2008, 11:28 AM
Almaleh
 
Posts: n/a
Default Re: double insert

aaooo54 a émis l'idée suivante :
>> 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.


thanks but the result is not very significant because it's measured in
second not in milliseconds
Francois


Reply With Quote