include("common.php");
if(!($link_id = mysql_connect($db_host, $db_user, $db_password))) die(mysql_erorr());
mysql_select_db($db_name);
$wdbattle = mysql_query("SELECT * FROM wdbattle WHERE uid = 1);
$wdbattle = mysql_fetch_array($wdbattle);
$hp = $wdbattle[hp];
$hpleft = $wdbattle[hpleft];
$hpheal = "$hp - $hpleft";
mysql_query("UPDATE wdbattle SET hpleft=hpleft+$hpheal WHERE uid='$id'");
Parse error: parse error in /home/newbie/kiswebdesigns-www/wuggydesign/battle/hospital.php on line 13
I get a parse error, but what the hell is wrong, I've tried like everything, any ideas?