0

Hi,

Entering website first time. Script says Admin then admin.

Like so

Admin Id: Admin
Password: admin

But get Error. Wrong Admin Login.

Plus these errors top of page:

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/adven735/public_html/config.php on line 4

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/adven735/public_html/config.php on line 4

Webhost help comment:

If error message 'mysql_fetch_array(): supplied argument is not a valid MySQL result
resource' or similar is displayed on your website, it means there are some issues with
your MySQL query.

Please kindly note this error is not related to hosting service, and it's related to your
script only, so we could not provide any support in this case.

Any ideas?

Thanks,
L-D

2
Contributors
1
Reply
15
Views
3 Years
Discussion Span
Last Post by titos97
0

looks like you missing 1 parameter syntax should be like this
(mysql_fetch_array($result)) you can also define array_type

MYSQL_ASSOC - Associative array
MYSQL_NUM - Numeric array
MYSQL_BOTH - Default. Both associative and numeric array
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.