Jump to content

How to Pass a Variable to an HTML Page Called with the PHP header() Function


iwato

Recommended Posts

BACKGROUND:  I have a confirmation page to which I would like to pass the values of two PHP variables via PHP's header( ) function.

QUESTION:  Can this be done with normal query statement say something on the following order: 

header('Location: ../../gate_confirmation.html?name=w3schools&msg=msg_success');

Roddy

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...