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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 > |
|
|||
|
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 |