custom post submit button
-
Hi all,
- Background
I’m creating my own form on a custom post called ‘cars’
- The set up
I have 3 input boxes of type ‘file’…
On submit, it will upload the images and put info into a database.- The problem
Problem is, when I press the submit button with the name’uploadImages’ it should run:
if(isset($_POST['uploadImages'])){ echo "hello"; }
but it doesn’t echo “hello”.
- The Question
If you submit the wordpress post/page type forms, does it clear out any $_post data so that when the page comes back round, my script can’t run because it no longer knows that my submit button was pressed?
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘custom post submit button’ is closed to new replies.