mysql insert query is executing two times in ie7

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gautamlohar
Forum Newbie
Posts: 2
Joined: Thu Nov 26, 2009 12:14 am

mysql insert query is executing two times in ie7

Post 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
gautamlohar
Forum Newbie
Posts: 2
Joined: Thu Nov 26, 2009 12:14 am

Re: mysql insert query is executing two times in ie7

Post by gautamlohar »

HI can anyone help me...
davex
Forum Contributor
Posts: 101
Joined: Sat Feb 27, 2010 4:10 pm
Location: Namibia

Re: mysql insert query is executing two times in ie7

Post by davex »

Hi,

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

Thanks,

Dave.
Post Reply