Question. I am trying to check to see if a certain piece of code should be run. Here is an example. if ($type != "add") || ($type != "edit") || ($type != "delete") {//if this or this or this then then run this code } else { then run this }
Is this correct, for some reason this isn't working. ===== dan mccullough -------------------------------------------------------- "Theres no such thing as a problem unless the servers are on fire!" __________________________________________________ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]