PHP pass variable after form is submitted

Posted by user342391 on Stack Overflow See other posts from Stack Overflow or by user342391
Published on 2010-05-29T14:26:12Z Indexed on 2010/05/29 14:32 UTC
Read the original article Hit count: 179

Filed under:
|
|
|

I have a form that posts to process.php. Process.php send all the data to mysql then returns back to the page using:

<?php header("Location: /campaigns"); ?>

On the page it returns to I want to display a message saying form submitted. Can I post a variable to the Location: /campaigns. And use the variable to display the message (or modal box)? and if so what would be the best way to do it?

© Stack Overflow or respective owner

Related posts about php

Related posts about post