I have two if condition with else condition. if attendance data need then open attendance file else open slip file. Another If condition for if sales data empty then open sales file. both condition used in one file. i tried this but not working.
if($needupdate =='y'){
header("location:attendance.php?msg=attendance data needed");
}else{
header("location:slip.php");
}
if(empty($result5) ){
header("location:sales.php?msg=sales data needed");
}else{
header("location:slip.php");
}
Aucun commentaire:
Enregistrer un commentaire