Jump to content

Parse error: parse error, unexpected T_VARIABLE


thegod

Recommended Posts

Parse error: parse error, unexpected T_VARIABLE in rankstatus.php on line 110

this is the 2nd line is 110 i have no idea

 

DEAD

$dead= mysql_num_rows(mysql_query("SELECT username FROM user_info WHERE status = 'Dead'"))or die(mysql_error());

 

many thanks

Link to comment
Share on other sites

/////Rankl1123467

$administrator= mysql_num_rows(mysql_query("SELECT username FROM user_info

WHERE rank = 'Administrator'"))or die(mysql_error());

 

 

/////Rankl11234678

$hdo= mysql_num_rows(mysql_query("SELECT username FROM user_info WHERE rank = 'Help Desk Oparator'"))or die(mysql_error());

 

 

/////user_info

DEAD

$dead= mysql_num_rows(mysql_query("SELECT username FROM user_info WHERE status = 'Dead'"))or die(mysql_error());

 

/////TOTAL ATTEMPTS

$attempts= mysql_num_rows(mysql_query("SELECT id FROM attempts WHERE outcome = 'Survived'"))or die(mysql_error());

 

$result11111swiss = mysql_query("SELECT money FROM swiss");

$moneyswiss = 0;

while($rowswiss=mysql_fetch_array($result11111swiss)){

$moneyswiss+=$rowswiss[0];

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.