Jump to content

unexpected T_VARIABLE


TheSky

Recommended Posts

hey i need a little help i get syntax error, unexpected T_VARIABLE in line $rowkills=$row['kills'];

<?
$sqltest = "SELECT * FROM data WHERE username='$name'";
$row=mysql_fetch_array($sqltest)
$rowkills=$row['kills'];
$rowdeaths=$row['deaths'];
$nkills=$Kills-$rowkills;
$ndeaths=$Deaths-$rowkills;
?>

Link to comment
https://forums.phpfreaks.com/topic/239130-unexpected-t_variable/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.