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:
Any suggestions?
(ps... wasn't sure if this was the right section. If not, sorry)
I receive this error when it ry to go to my website:
Code:
[B]Warning[/B]: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [B]/home/mrgames/public_html/projectext/ext/includes/globals.php[/B] on line [B]6[/B]
Here is the source code of my globals.php:
PHP:
<?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();
?>
Any suggestions?
(ps... wasn't sure if this was the right section. If not, sorry)
Last edited: