I already asked this once but I thought I'd clear it up for people to answer if they want to that is.
step 1
----------------------------------------
A standard HTML form asks for 3 pieces of info (subject, email, message)
it then submits this to a validation PHP script on a page called test.php for example.
step 2 (test.php)
---------------------------------------
This page checks for illegal characters etc and if it finds any problems it redirects you back to the question. If it doesn't find anything wrong with your email it echos the message back to you on screen by using a hidden form IE I used html to disable fields and css to hide them. You then have two options click yes to pass the message on to another page or click back to edit it.
step3 (message sending page)
-----------------------------------------------
This page simply requests the details from the form on the test.php page and then sends them in email format.
My problems
-------------------------------------------
I don't know if it is because I have disabled the fields or what so I will try that but the 3rd page which sends the email isn't receiving variable data I know because I did a simple if statement to echo it or say it was empty and it came up empty.
Why are my variables from (test.php) page not being passed to the thrid page?
I hope I have made this clear but if you need any more info just ask me. I am after a contact page kind of like Yahoo has the 3 stage process
Write, Check, submit
Thanks for any help
step 1
----------------------------------------
A standard HTML form asks for 3 pieces of info (subject, email, message)
it then submits this to a validation PHP script on a page called test.php for example.
step 2 (test.php)
---------------------------------------
This page checks for illegal characters etc and if it finds any problems it redirects you back to the question. If it doesn't find anything wrong with your email it echos the message back to you on screen by using a hidden form IE I used html to disable fields and css to hide them. You then have two options click yes to pass the message on to another page or click back to edit it.
step3 (message sending page)
-----------------------------------------------
This page simply requests the details from the form on the test.php page and then sends them in email format.
My problems
-------------------------------------------
I don't know if it is because I have disabled the fields or what so I will try that but the 3rd page which sends the email isn't receiving variable data I know because I did a simple if statement to echo it or say it was empty and it came up empty.
Why are my variables from (test.php) page not being passed to the thrid page?
I hope I have made this clear but if you need any more info just ask me. I am after a contact page kind of like Yahoo has the 3 stage process
Write, Check, submit
Thanks for any help