<?php
$db = mysql_connect("localhost","xxxxx") or mysql_die ("Unable to Connect to Mysql.");
mysql_select_db("xxxxxxxxxxxx", $db);
$result = mysql_query("INSERT INTO `members` (`username`, `password`, `bnet`, `race`, `rank`, `email`, `aol`, `msn`, `yahoo`, `icq`) VALUES ('$username', '$password', '$bnet', '$race', '$rank', '$email', '$aol', '$msn', '$yahoo', '$icq'");
if( mysql_num_rows($result) == 0 )
{ echo("The Information that you have entered could not be submitted, please contact the webmaster if the problem occurs again."); }
else
{
$query = mysql_query('$result', $db);
?>
I get a parse error when running this code..