I currently have the PHP level of 2 as my php (in my account)
I receive this error when it ry to go to my website:
Here is the source code of my globals.php:Code:Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mrgames/public_html/projectext/ext/includes/globals.php on line 6
Any suggestions?PHP Code:<?php
//in debug mode or not?
$query = 'SELECT * FROM ext_general';
$command = mysql_query ($query);
$result = mysql_fetch_array ($command);
or die ($db_error);
$debug = $result['debug'];
if ($debug == 1)
{
$debug = true;
}
else
{
$debug = false;
}
//Message shown in register.php
$register_message = "Welcome to Project Extension. Project Extension is currently still under development of iQuest Studios";
//DB Error message
$db_error = mysql_error();
?>
(ps... wasn't sure if this was the right section. If not, sorry)


LinkBack URL
About LinkBacks
Reply With Quote






