How to redirect link in php code
<p>I'm newbie in PHP.I got this code.</p>

<pre><code>&lt;?
$connection=mysql_connect("","","");
if(!$connection)
{
    die("Database Connection Failed: " . mysql_error());
}
//Select a database to use
$db=mysql_select_db('vss',$connection);
if(!$db)
{
    die("Database Selection Failed: " . mysql_error());
}

$class=$_POST['class'];
$section=$_POST['section'];
$roll=$_POST['roll'];
mysql_query("INSERT INTO student_class SET
            class='$class',
            section='$section',
            roll='$roll'");
print"Data Saved";//If data saved,I want to redirect link to a another page
mysql_close();
?&gt;
</code></pre>

<p>==================================================================================</p>

<p>If data saved,I want to redirect link to a another page.is this possible??</p>

<p>Thanks in advance.</p>
