MySQL Forums
Forum List  »  PHP

Re: Select drop down list is only displaying first choice results
Posted by: Peter Brawley
Date: September 05, 2017 10:06AM

Add in a stub ...

$rows = mysqli_num_rows($result);
echo "sql: $sql rows=$rows";

... before the fetch to see what's going on, then you'll know if it's the query or something else in your code.

Options: ReplyQuote




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.