Hi Folks, Anyone know if you can use operators in a switch function? eg.
switch ($category){ case "FFS" || "FHG" || "FRG": $soldID = "SFFS"; break; case "DPT" || "DL" || "DF" || "DI" || "DO": $soldID = "SDPT"; break; } Cheers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php