Jump to content

Parse error: parse error, unexpected T_VARIABLE


thegod

Recommended Posts

/////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];

 

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.