Do you have exactly 13 fields in your $_POST arrya, and is the last one the submit? If so, then it will still work. if not, then it’s never going to do what you expect.
It doesn’t matter if the submit is there or not. If you don’t do anything with it, then it’s really more work get rid of it then it is to leave it there and just ignore it.
If you want to get rid of it, you’ll need to know the name that it’s submitted under. Most are just ‘submit”, but it will depend on what your buttons name=”” value is set as. You would just use this:
unset ($_POST['submit'])
That’s all there is to it. That will remove that entry form the $_POST array.
But remember… Just removing it from the $_POST array won’t remove it from $_REQUEST as well.
Sweet ….. works like a charm!
btw, if I leave it in $_POST, $wpdb->insert() pukes because I don’t
have a column for ‘submit’ in my db. Why bother storing something if you don’t need it.
Thanks again!