PHP From Processing
<p>How can i insert data from a form staying in the same page.And Checking that it's inserted i also want to redirect to another page by posting a value from the form.</p>

<p>Is it possible to self and post data to another page.Please tell me how can i do it.Sudo Code will be enough.</p>

<p>Here is my form sample :</p>

<pre><code>if (!isset($_POST['Submit'])) {

?&gt;

&lt;div class="fullDivision"&gt;

    &lt;span id="lblSystemMessage" style="display: inline-block; width: 90%;"&gt;&lt;/span&gt;

    &lt;div id="ValidationSummary1" class="RequiredFieldSummary" style="color: Red; display: none;"&gt;&lt;/div&gt;

    &lt;form name="Submit" action="UserDetailsView.php" method="post"&gt;


        &lt;table class="Table" style="width: 100%;" align="center" border="0" cellpadding="0" cellspacing="0"&gt;
            &lt;tbody&gt;
            &lt;tr&gt;
                &lt;td colspan="2" class="LebelText" style="width: 100%;"&gt;
                    &lt;img src="AIMlogoweb.jpg" width="353" height="64"&gt;
                &lt;/td&gt;
            &lt;/tr&gt;

            &lt;tr&gt;
                &lt;td class="LebelText" style="width: 30%;"&gt;&lt;strong&gt;Company Name&lt;/strong&gt;&amp;nbsp;&lt;/td&gt;
                &lt;td style="width: 70%;"&gt;
                    &lt;input name="txtCompanyName" maxlength="100" id="txtCompanyName" class="TextBox"
                           style="width: 200px;" type="text"&gt;
                    &amp;nbsp;
                &lt;/td&gt;
            &lt;/tr&gt;
    &lt;/form&gt;
</code></pre>
