Código PHP:
if (isset($_POST["sexo"]))
{
$sexo=$_POST['sexo'];
}
else
{
window.history.back();
}
Notice: Use of undefined constant window - assumed 'window' in C:\xampp\htdocs\MediSoft\patient_add_method.php on line 12
Notice: Use of undefined constant history - assumed 'history' in C:\xampp\htdocs\MediSoft\patient_add_method.php on line 12
Fatal error: Call to undefined function back() in C:\xampp\htdocs\MediSoft\patient_add_method.php on line 12