MySQL Forums
Forum List  »  PHP

Posted by: san san htwe
Date: June 20, 2005 09:35AM

I've faced with a problem concerned with a warning message-
"mysql_fetch_array(): supplied argument is not a valid MySQL result " in my PHP script
about the line ...

$query='select * from url_types order by type asc';
while($row=mysql_fetch_array($result)) {
echo '<option value="', $row[0], '">' , stripslashes($row[1]), '</option>';

I've already checked the query statement in MySQL database, the return statement is alright.
Please give me some instructions please.

Options: ReplyQuote

Written By
June 20, 2005 09:35AM
June 20, 2005 10:38AM
June 20, 2005 11:51AM
June 20, 2005 09:10PM
June 21, 2005 08:18AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.