ECTED]
Subject: [PHP] help with parse error
I have a parse error on line 12 --
---
");
echo("");
echo($row['Title']. "");
echo("");
echo("");
echo($row['SubT']."
I have a parse error on line 12 --
---
");
echo("");
echo($row['Title']. "");
echo("");
echo("");
echo($row['SubT']."");
echo("");
echo("");
echo($row['Author']. "");
echo($row['Story']);
echo("");
Yup, that was it. Missing a semi-colon on line 8.
Thanks,
James
-Original Message-
From: Peter James [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 1:17 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Help with parse error
Can you give us a couple lines either side of this
-
From: "James Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 1:07 AM
Subject: [PHP] Help with parse error
> Hi,
>
> I'm trying to figure out this error I'm getting in my code:
>
> Parse error: parse error in /home/
Hi,
I'm trying to figure out this error I'm getting in my code:
Parse error: parse error in /home/.paco/campuscb/AdPayment.php on line 9
This is the code on line 9:
$sDate = date('Y-m-d',time());
Does this look valid?
Thanks,
James
--
PHP General Mailing List (http://www.php.net/)
To unsubs
;
> <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Tuesday, April 03, 2001 7:54 PM
> Subject: RE: [PHP] help with parse
>
>
>>>> >>> if ($HTTP_USER_AGENT = "Mozilla")
>>>
>>>
Hi,
Renze Munnik wrote:
> Have you ever checked the $HTTP_USER_AGENT value from IE?
>
> IE says:
>
> "Mozilla/4.0 (compatible; MSIE 5.01; Windows 95)"
> (for example)
>
> So, you shouldn't be checking for Mozilla. IE says that to.
You should first check for the existence of "IE" in $HTTP_USER_A
WD wrote:
>
> heres what is result in IE...which shouldnt show up at
> this code isnt parsing like I expect..
>
> if ($HTTP_USER_AGENT = "Mozilla")
> {
> print ("This site best viewed with IE 4 or
> better!\n");
> print ("\n");
> print ("\n");
> print ("\n");
> print ("\n");
> }
> ?>all...
>
>
IL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, April 03, 2001 7:54 PM
Subject: RE: [PHP] help with parse
>> > > > if ($HTTP_USER_AGENT = "Mozilla")
>>
>>^ This needs to be "=="
>
>Actually, it needs to be " if(subs
;; [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, April 03, 2001 7:54 PM
Subject: RE: [PHP] help with parse
>> > > > if ($HTTP_USER_AGENT = "Mozilla")
>>
>>^ This needs to be "=="
>
>Actually, it needs to be " i
> > > if ($HTTP_USER_AGENT = "Mozilla")
>
>^ This needs to be "=="
Actually, it needs to be " if(substr($HTTP_USER_AGENT, "Mozilla"))".
*slap.self*
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General Mailing L
> heres what is result in IE...which shouldnt show up at
> this code isnt parsing like I expect..
>
> if ($HTTP_USER_AGENT = "Mozilla")
^ This needs to be "=="
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
heres what is result in IE...which shouldnt show up at
this code isnt parsing like I expect..
\n");
print ("\n");
print ("\n");
print ("\n");
}
?>all...
\n"); print ("\n"); print ("\n"); print ("
\n"); } ?>
__
Do You Yahoo!?
Get email at your
this code isnt parsing like I expect..
\n");
print ("\n");
print ("\n");
print ("\n");
}
?>
heres what is result in IE...which shouldnt show up at
all...
\n"); print ("\n"); print ("\n"); print ("
\n"); } ?>
__
Do You Yahoo!?
Get email at your
this code isnt parsing like I expect..
\n");
print ("\n");
print ("\n");
print ("\n");
}
?>
heres what is result in IE...which shouldnt show up at
all...
\n"); print ("\n"); print ("\n"); print ("
\n"); } ?>
__
Do You Yahoo!?
Get email at your
15 matches
Mail list logo