Helpful Information
 
 
Category: MySQL Help
Mysql Result Index error

Why dows my PHP page when connecting to a MYSQL database give the error

"0 is not a MySQL result index in ...."

What exactly does this error stand for and how can it be removed.
I am very new to PHP and hence any help is appreciated.

if you look at the whole line see below

Warning: 0 is not a MySQL result index in /home/etc/etc/etc/index2.php3 on line 25

it refers to you misreferencing a table, column name or db (typo whatever), the line number refers to where it is trying to pull result (mysql_fetch_array or whatever), check what sql query stmts for any typos and it should work fine for you. Basically it means it cant find anything and throws a wobbler :)


------------------
cheers










privacy (GDPR)