MySQL Forums
Forum List  »  PHP

Re: PHP/MySQL Reading Database Field Help!
Posted by: Peter Brawley
Date: July 23, 2019 10:28AM

DId you add a line to see if the query returns any rows? What's the result of mysqli_num_rows($conn) ?

Check the PHP manual ... mysqli_fetch_field() fetches column info, not data---which needs mysqli_fetch_row().

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.