On Thu, Jul 24, 2008 at 1:52 PM, <payne@xxxxxxxxxxxxxxxxxxx> 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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php