Click here to Skip to main content
15,886,422 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using an HTML form in wordpress by which we can save the data to database. i dont know whats wrong with that code whenever i submit or refresh my page the data added to the table automatically blank or duplicate anyone tell me how to prevent from this? My code is here
Posted

1 solution

Dear ibnewaris

as per my concern you can edit your database and set a column as primary key and set allow Null= false

thanks
 
Share this answer
 
Comments
Killzone DeathMan 19-Feb-13 5:21am    
I like you answering style, and you can also validate the entry by the code...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900