Menu
Hi, Everybody!
How do I know when a query returns “empty.” I echoed the results and I found out that they aren’t empty, but regarless of whether it’s empty or not the out is always the same. In other words, I can’t use an if statement.
Can anybody help me out with it, please? I am new at SQL/PHP. What I am trying to do is get some kind of value of either 0 or 1, that I can use to display a message page when the record isn’t found, instead of a blank page.
Thanks a lot before hand.