PHP Pass Data with Redirect
<p>PHP Redirect with Post Data</p>

<p>Hi,</p>

<p>I am a newbie PHP programmer and trying to code a small blog.</p>

<p>I will explain what I am trying to do.</p>

<ul>
<li>page1.php: Has a table of all posts in the blog</li>
<li>page2.php: This page has a form where you can add a Post</li>
</ul>

<p>Page 2 posts to itself and then processes the data, if it successful then uses header() to redirect back to page1 which shows the table.</p>

<p>Now what I want to do is to be able to have a small message on page 1 above the table saying your blog post has been successfully submitted but I’m not sure how I can pass data back to page 1 after the form processing.</p>
