PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
kaszu wrote:Note: warning message is not generated if array is empty. You don't have to check if it is empty or not.
Sorry, I confused that with something else. For some reason I had database result sets in mind, which can be false when an error occured -- at least that has to be checked in advance. I'm getting old
P.S.: And... well... even then checking for count doesn't make sense, either... Heck, what is wrong with me today... hehe
Paw wrote:Sorry, I confused that with something else. For some reason I had database result sets in mind, which can be false when an error occured -- at least that has to be checked in advance. I'm getting old
P.S.: And... well... even then checking for count doesn't make sense, either... Heck, what is wrong with me today... hehe