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



JRough <jlrough@xxxxxxxxx> wrote:
: 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("Location: ".$_POST['redirect'].".php?id=".$_POST['id']);
: exit;-------------------------------------------^
/\missing close quote "
: if($_POST['assign']=='Open in Excel'){
: Header("Location:
:
http://allcapitalrailmanagement.com/fakerockridge/tracing_reportsXL.php?param=
".$_POST['redirect']."&id=['id']);
: exit;
^------------------------missing close quote "
: }
: }
--thelma
: Janis

.



Relevant Pages

  • Re: what do i need the DNS service for?
    ... disable this service, your internet browsing stops? ... > As you didn't quote the post you were replying to, ... > I was replying to the original question which is what i thought the ... > Thanks for the info i will quote going forward. ...
    (microsoft.public.windowsxp.general)
  • Re: Set specific template in Outlook
    ... And the original question was? ... Please take the time to quote the original message. ... Sue Mosher, Outlook MVP ...
    (microsoft.public.outlook)
  • Re: calendar lost association
    ... I don't know what your original question was. ... Please take the time to quote the original message. ... > The info comes up as just lists not in calendar format. ... The icon is just a folder not the calendar icon ...
    (microsoft.public.outlook.calendaring)
  • Re: Daniel Moth - Question
    ... it's really bad form to use the newsgroups as an email service. ... since you didn't quote the original question, many of us - even those who ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: what do i need the DNS service for?
    ... > disable this service, your internet browsing stops? ... >> As you didn't quote the post you were replying to, ... >> I was replying to the original question which is what i thought the ... >> Thanks for the info i will quote going forward. ...
    (microsoft.public.windowsxp.general)