How can i execute a link in a php page
<p>I have a test.php page</p>

<p>in this page , there is a url . i need to execute that url (here database updation is doing).This is my code</p>

<pre><code>&lt;?php
$username ='testUsername';
if($_GET['age']!=''){
header('location:www.test.com/update.php?age='.$_GET['age'].'&amp;username='.$username); //need to updatethe age of this username
 $show ='hello';
}
?&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;?php echo $show ?&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>i know this code is not going to work properly.How can i write in a good way.I donot want  to redirect the page.I just need to execute that link</p>
