i don't know why my firefox browser executing mysql query two times. and this is happening only with firefox. i have tested the code with chrome and opera and its working fine.

now i have tested simple php code . this one

mysql_query("insert into test('1','12345')");

just this code and i am facing the same problem.
it inserting the two times data into the test table.

1) keep process page separte from user form.
2) use cookies to ignore execution of process code twice.

If you can post your complete code then anyone can test at their end.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.