iwato Posted February 2, 2018 Share Posted February 2, 2018 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 More sharing options...
Ingolme Posted February 3, 2018 Share Posted February 3, 2018 Yes, you can pass values through the query string. They will be accessible through the $_GET array. 1 Link to comment Share on other sites More sharing options...
iwato Posted February 3, 2018 Author Share Posted February 3, 2018 Great! Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now