Code: Select all
if($semid<$b['DId'])
{
echo"<tr><td colspan='6'><div align='center'><input type='submit' name ='process' value='Process to Next Semester >>' class='inputsubmit'></div></td></tr>";
}
else
{
echo "<tr><td colspan='6'><div align='center'><input type='submit' name ='complete' value='Processed To Complete Course' class='inputsubmit'></div></td></tr>";
}in the submitting form when i press the button no action occured. iam using below code to access the get value on the press any button.
Code: Select all
if(isset($_POST['process']))
{
echo "hai";
}
if(isset($_POST['complete']))
{
echo "hhai";
}