Page 1 of 1

mysql insert query is executing two times in ie7

Posted: Wed Apr 21, 2010 11:56 pm
by gautamlohar
Hi everyone

I have a problem with my browser IE7. Problem is when I execute a simple insert query its inserting records two times. But this is only happening after isset($_POST['submit']). If I write the query above the isset($_POST['submit']) its going correct and only inserting a single record as I desired. There is no loop, I have not written two time the query, then why Its inserting two records a single click. I am in problem please help me out. But its working fine in Mozilla and IE6. Problem is only with ie7.

Thanks
gautam

Re: mysql insert query is executing two times in ie7

Posted: Fri Apr 23, 2010 1:51 am
by gautamlohar
HI can anyone help me...

Re: mysql insert query is executing two times in ie7

Posted: Fri Apr 23, 2010 2:27 am
by davex
Hi,

Please post your entire code - both the duplicating and non-duplicating versions in php code tags.

Thanks,

Dave.