Hi
I’ve some prob with some php page.
i’ve a page as studentinfo.php like that :
///////////////////////////////////////////studentinfo.php////////////////////////////////////
<?php include "config.php"; $r=mysql_query("select distinct s_session from studentinfo order by s_session" );?>
<?php
while($row=mysql_fetch_array($r)){
?>
<option value="<?php echo htmlspecialchars($row['s_session']);?>"><?php echo htmlspecialchars($row['s_session']);?></option>
<?php
}
?>
</select>
/////////////////////////////end/////////////////////////////////////////////
the corresponding getstudent.php page is like that :
///////////////////////////getstudent.php//////////////////////////////
<?phpinclude "config.php";
$q=$_GET['q'];
echo $q;
$qu="select * from studentinfo where s_session='".$q."'";
$r=mysql_query($qu);
if($r)
{
echo "succesfully done.thnk u";
}
echo "<b><h4><table border='1' width='70%'>";
echo “
//echo "
while($row = mysql_fetch_array($r))
{
echo “
?>
///////////////////end//////////////////////////////////////////
in this case the confirmation function does not work at all.i cann’t understand what is the fault.plz help me to solve this prob.give methe solution plz