Re: [PHP] Help with parse error

This is a discussion on Re: [PHP] Help with parse error within the PHP General forums, part of the PHP Programming Forums category; Can you give us a couple lines either side of this? This could be due to a missing semicolon on ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-20-2003
Peter James
 
Posts: n/a
Default Re: [PHP] Help with parse error

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
petej@phparch.com

php|architect
The Magazine for PHP Professionals
http://www.phparch.com


----- Original Message -----
From: "James Johnson" <james@smb-studios.com>
To: <php-general@lists.php.net>
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/.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 unsubscribe, visit: http://www.php.net/unsub.php
>


Reply With Quote
  #2 (permalink)  
Old 08-20-2003
James Johnson
 
Posts: n/a
Default RE: [PHP] Help with parse error

Yup, that was it. Missing a semi-colon on line 8.

Thanks,
James

-----Original Message-----
From: Peter James [mailto:petej@interbaun.com]
Sent: Wednesday, August 20, 2003 1:17 AM
To: php-general@lists.php.net
Subject: Re: [php] Help with parse error


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
petej@phparch.com

php|architect
The Magazine for PHP Professionals
http://www.phparch.com


----- Original Message -----
From: "James Johnson" <james@smb-studios.com>
To: <php-general@lists.php.net>
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/.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 unsubscribe, visit: http://www.php.net/unsub.php
>



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0