[PHP] Re: Help with parse error

2003-08-20 Thread Baroiller Pierre-Emmanuel
Hi, it's a common error... I think you have an unclosed string before in your script... example : $data='the data; $sDate = date('Y-m-d',time()); this code will produce an error on ligne with $sDate only becose the line with $data is unclosed ( missing the last ' ).. Take a look at your e

[PHP] Re: Help with parse error

2003-08-20 Thread Kae Verens
James Johnson wrote: 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()); if you're looking for the current time, then this is sufficient: $sDate=date('