Re: if statement in an elseif block with a preceeding exit statement

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • thelma@uwm.edu

    Re: if statement in an elseif block with a preceeding exit statement

    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

Working...