Jump to content

Blank page problem


voyde

Recommended Posts

Hi, I have developed a current site (www.voyde.org) It uses a login system and you wont notice a problem unless your register, (User : DEMO , Pass : demo )

 

when your are logged in the site works fine, but when you goto the games tab it runs a totally blank page and only occurs when the follow code is in the header:

mysql_connect($server, $db_user, $db_pass) or die (mysql_error()); 
$result = mysql_db_query($database, "select * from $table WHERE username = '$username'") or die (mysql_error()); 

   while ($qry = mysql_fetch_array($result)) { 
      $theme = $qry[theme]; 
}

 

also the reason why i call on mysql is because there is a theme field where it stores the users theme choice.

 

Oh and the games section of the site I did not create, it was made by www.gamesitescript.com

 

Thanks for looking

Link to comment
https://forums.phpfreaks.com/topic/49545-blank-page-problem/
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.