PHP Unexpected T_VARIABLE?

I’m new to PHP and creating a shoutbox for my site, but I keep getting this:

Parse error: parse error, unexpected T_VARIABLE in /home/vip3r/public_html/scripts/shoutbox/submit.php on line 14

here’s my code:

 <?
$db = mysql_connect("localhost","vip3r","password");
//the host, name, and password for your mysql
mysql_select_db("vip3r",$db);
if($submit)
{
	$sql = "INSERT INTO shoutbox (id,name,message) VALUES_('NULL','$name', '$message')";
____$result=MYSQL_QUERY($sql);
// inserting it into the shoutbox table which we made in the mysql statements before
}
?> 

<form action="<? echo $php_self ?>" method="post"> 
<INPUT TYPE='TEXT' value='name' NAME='name' SIZE=30 maxlength='100'><br> 
<INPUT TYPE='TEXT' value='message' NAME='message' SIZE=30 maxlength='100'> 
<input type="submit" name="submit" value="submit"> 
</form> 

I googled it, and all the causes seem to be careless mistakes. I can’t find any in mine, but I’ve probably overlooked something. Any ideas?

well the only thing I really see is that in line 14 you start using single quotes instead of double quotes. change all of your single quotes to double quotes that might help…I’m not sure…

but that would interfere with the variable decleration :slight_smile:

hmmm…

I meant from line 14 on.

oh, and I don’t get that error when I run the same script on my machine… Do you have the file uploaded on your server? Maybe it has something to do with your database…

Ya, I’ve got PHP 4 loaded with MySQL 3 or something.
http://www.vip3r.com/scripts/shoutbox/submit.php

My database is made up of those three values, and I created it with PHPMyAdmin. But if it were a problem with the database, would it return a parse error?