Running a PHP in the background while displaying another PHP
<p>Currently I have 2 PHP files. 1 is the user interface and another fetches data from the backend and inserts into the database.</p>

<p>Currently if I use the following in the UI php:</p>

<pre><code>&lt;html&gt;
    &lt;body&gt;
        &lt;form action = "test.php" name="form" method="post"&gt;
            &lt;input type="text" name="text_box" size="50"/&gt;
            &lt;input type="submit" id="search-submit" value="submit"/&gt;
        &lt;/form&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Upon clicking submit it goes to the test.php. If it possible to execute test.php in the background while remaining on the UI php?</p>

<p>Some of the previous posts talk about using ajax etc which I am not sure how to implement. Possible to do this in php?</p>

<p>Thanks in Advance.</p>
