JRough <jlrough@yahoo. comwrote:
: However, there is still a syntax problem with the if inside the elseif
: which was my original question.
: }elseif($_POST['redirect']&&$_POST['redirect']!=$_SERVER['PHP_SELF']){
: Header("Locatio n: ".$_POST['redirect'].".php?id=".$_P OST['id']);
: exit;-------------------------------------------^
/\missing close quote "
: if($_POST['assign']=='Open in Excel'){
: Header("Locatio n:
:
".$_POST['redirect']."&id=['id']);
: exit;
^------------------------missing close quote "
: }
: }
--thelma
: Janis
: However, there is still a syntax problem with the if inside the elseif
: which was my original question.
: }elseif($_POST['redirect']&&$_POST['redirect']!=$_SERVER['PHP_SELF']){
: Header("Locatio n: ".$_POST['redirect'].".php?id=".$_P OST['id']);
: exit;-------------------------------------------^
/\missing close quote "
: if($_POST['assign']=='Open in Excel'){
: Header("Locatio n:
:
".$_POST['redirect']."&id=['id']);
: exit;
^------------------------missing close quote "
: }
: }
--thelma
: Janis