I created plugin and my plugin create new Table in DB. My problem is when user type something in field firstname, lastname… and click on button Submit, that go to my table and that is ok.. but then when user do a refresh page, then again i get the same imports in my table. And if field are empty and I do refresh I get the new row in table with empty firstname and lastname.. Here is my code..
http://pastebin.com/RJcFXeUV – this is my main.php
http://pastebin.com/Myqz5brq – this is mu form.php
So I want to enter data in my table just when fields are !empty and only when user click the submit, not after every refresh..