2 Simple ways to do it, you can either:
Remove the else all together, and instead use a boolean variable which is set to true if a match is found, but outside the loop you test if(!matchfound) and...
Type: Posts; User: newbie
2 Simple ways to do it, you can either:
Remove the else all together, and instead use a boolean variable which is set to true if a match is found, but outside the loop you test if(!matchfound) and...
Okay, how about you post a question outside of the code block, and post one with better detail.
If that is your original code, then "how do I deal with it" doesn't make much sense seeing as you're...
Maybe someone could.. if you had a question ;)