Header redirect


Posted on 16th Feb 2014 07:03 pm by admin

Hello ive got a problem ive got form with its action set to itself.
Code: <form id="formID" class="formular" method="post" action=""/>
it then runs through validation and if their are no errors it the runs a header redirect.
Code: if($error == ''){
header('location: http://example.com/test.php);
}
}
The problem im having is it doesnt pass through all the form variables to the next page like firstname lastname email etc.

If i set the forms action to test.php it sends them all fine can someone please tell me a workaround when using a header redirect?

No comments posted yet

Your Answer:

Login to answer
259 Like 38 Dislike
Previous forums Next forums
Other forums

Adding delete feature to my forum
Hello I am currently trying to add a delete feature to my forum. I believe I have everything built r

Help With editting and deleting form
Hallo !!

So look at this image :

http://img194.imageshack.us/img194/8272/snapshot5f.pn

Memory Allocation
Hi folks,
see this ex:

int v=5;
v=v+10;

then what will do the compiler before th

Am i doing this wrong?
Im pulling from an Oracle database some info... one of which is a field count_pnums which is a NUMBE

Problem Dereferencing
With these types and tables:

CREATE TYPE MANAGER AS OBJECT (
MGR_ID INTEGER,

Secure pages Sessions vs. Cookies & session_destroy() help
Im new here and new to PHP, I hope you can help me with some questions.

Im writing my web ap

md5 is it unique
I know this is most likely one of many simple questions that can be found semi easily. But I'm press

upgrade from 4.7 to ECC 6.0
Hi all,
we are going to do an upgrade from R/3 4.7 to ECC 6.0. I need to know if i can find som

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

Array question
Does anyone know how to create a program that takes the $ amount for 8 different departments and gi

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash