Re: Parse Error

From: Date: Tue, 21 Feb 2006 21:33:57 +0000
Subject: Re: Parse Error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-230840@lists.php.net to get a copy of this message
Ray Cantwell wrote:
Hi all, I am a noob and super confused right now. I have some really simple code and i am getting an error that reads: *Parse error*: syntax error, unexpected T_VARIABLE in */var/www/mysql_up.php* on line here is the code: <html> <head><title>Test MySQL</title></head> <body> <!-- mysql_up.php --> <?php $host="localhost" $user="ray" $password="*****" <snip>
Terminate your php lines with a semi-colon ';' -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com

« previous php.general (#230840) next »