MySQL Forums
Forum List  »  PHP

Re: Problem with an if with in an if
Posted by: Rick James
Date: April 11, 2014 09:16PM

I don't see the call to mysql_fetch.

You really ought to switch from the mysql_* interface to the mysqli_* interface.

I would do SELECT COUNT(*) instead of using num_rows.

Options: ReplyQuote


Subject
Written By
Posted
Re: Problem with an if with in an if
April 11, 2014 09:16PM


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.