Hi,
Maybe..
$sql = "SELECT Title, SubT, Author, Story FROM SiteNews;"
should be
$sql = "SELECT Title, SubT, Author, Story FROM SiteNews";
-Original Message-
From: Stevie D Peele [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 5:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] he
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
Can you give us a couple lines either side of this? This could be due to a
missing semicolon on the previous line.
--
Peter James
Editor-in-Chief, php|architect Magazine
[EMAIL PROTECTED]
php|architect
The Magazine for PHP Professionals
http://www.phparch.com
- Original Message -
From
;
> <[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
10 matches
Mail list logo