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.