This is kinda funny - because I actually tried something like that earlier. A foreach loop ... but the thing is, the MySQL that comes back in my queries isn't in an array ... and if it is, then I don't know what I'm doing which is more likely the case. Every time I tried to run an array function like foreach on my returns, I'd get an error ... 'invalid data type' or something along those lines. So I scratched this whole approach.
A few minutes ago, I found the solution to my problem. It's 'continue;' - that's what tells the for or while loop to go test it's validity again skipping the rest of the code. So that's what's inside my if statement now.
Cahva - thanks so much for the response. I really appreciate you trying to help me out. Funny how we both sought the same solution ... I'm just too stupid to have figured it out like you did. 🙂 Thanks though.