hiya i need some help with this piece of script
$stat_rand1=rand(0/999999);$stat_rand=$stat_rand1/1000000;if($action=skill);echo"You have gained $stat_rand on your skill";mysql_query("SELECT* FROM playeddeatils WHERE username='$myusername');$rows=mysql_fetch_array($mysql);$stat=$rows["$skill"]+$stat_rand;$new_energy=$train_energy-10;mysql_query("UPDATE Playeddetails SET train_energy= '$new_energy' WHERE username='$myusername'");mysql_query("UPDATE Playeddetails SET skill= '$stat' WHERE username='$myusername'");?><br /><br />
it gives me this error: Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/www/football-hooligans.freehostia.com/Skill.php on line 20any help or pointers are greatly aprecated Many thanks