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!
I have an if/else argument where 99.9999% of the time the first condition will be met. I attempted to use exit to end the script though it killed the page like die(). Is there a method to stop an if/else without it doing anything?
if ($condition=="common") {//do nothing but stop this if/else statement?}
else if ($condition=="uncommon1") {//etc1}
else if ($condition=="uncommon2") {//etc2}
Today isn't exactly my sharpest day. I'll just have it !execute when the most common $condition exists. Oh and I looked up break on php.net being pretty sure it was not part of if/else.