...

View Full Version : error "mysql_fetch_array(): supplied argument is not a valid"



moneybux
03-13-2008, 03:24 AM
At my web site http://www.moneybux.biz I have code that for some reason isn't co-operating. This is the code that is having the issue:

$row = mysql_fetch_array($result);

When you go to my site, you can see the error messages and my admin.php doesn't show up either..Any ideas to help me out people.

oesxyl
03-13-2008, 03:34 AM
At my web site http://www.moneybux.biz I have code that for some reason isn't co-operating. This is the code that is having the issue:

$row = mysql_fetch_array($result);

When you go to my site, you can see the error messages and my admin.php doesn't show up either..Any ideas to help me out people.

first of all use a more descriptive title for your problem if you want to be helped
second, this is a php problem, why did you post it on "general web building" forum

about your problem, post the content of index.php, but please use [ code] and [ /code] tags, is more readeable

PS: I guess the thread could be moved to the php forum

best regards

moneybux
03-13-2008, 03:43 AM
first of all use a more descriptive title for your problem if you want to be helped
second, this is a php problem, why did you post it on "general web building" forum

about your problem, post the content of index.php, but please use [ code] and [ /code] tags, is more readeable

PS: I guess the thread could be moved to the php forum

best regards

Take it easy, i am new

oesxyl
03-13-2008, 03:49 AM
Take it easy, i am new
don't warry, I'm verrrrrrry ..... nice, :)

best regards

CFMaBiSmAd
03-13-2008, 04:00 AM
The error is because your query failed, but your code has absolutely no error checking logic to get it to tell you why it failed. The example in the php manual shows how to use error checking and error reporting logic to get php/mysql to tell you why any query failed - http://php.net/mysql_query



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum