My problem is that I’m using wordpress and I don’t know how to do this !
So I have file A.php and file B.php
I put both of them in the same folder in theme folder. Then I wrote :
/* Template Name: test */
at the start of file A.php
A.php has a form.
action=B.php. How can I post the data ? the question is simple !
( What is it about that you guys don’t understand !)
Source: Ask PHP