Re: Help with an error...

From: Date: Thu, 24 Jul 2008 17:39:10 +0000
Subject: Re: Help with an error...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-277246@lists.php.net to get a copy of this message
On Thu, Jul 24, 2008 at 1:52 PM, <payne@magi.magidesign.com> wrote: > Hi, > > I am currently working on a php script that will be called by cron. But I > have an error that keeps coming up. > > Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on You didn't include the line number in the message, but when you receive an error like that, look to the line of code prior. Usually, it's just a missing semicolon, which is the case in your situation here: $result = mysql_query($query) -- </Daniel P. Brown> Better prices on dedicated servers: Intel 2.4GHz/60GB/512MB/2TB $49.99/mo. Intel 3.06GHz/80GB/1GB/2TB $59.99/mo. Dedicated servers, VPS, and hosting from $2.50/mo.

« previous php.general (#277246) next »