PHP :passing message along header location
<p>I would like to show a message on the page once the user enter some wrong data </p>

<p>so far I am passing a message like </p>

<pre><code>    $Message = "Some error occured please try after some time ";
    header("Location:index.php?Message={$Message}");
</code></pre>

<p>I know this message will display only in address bar so what should I do so that this message could display on the index.php page instead of this </p>

<pre><code>http://localhost/UI/index.php?Message=Someerror occured please try after some time
</code></pre>
