switch($color) { case 1: case "black": return ImageColorAllocate($image,0,0,0); break; case 2: case "white": return ImageColorAllocate($image,255,255,255); break; case 3: case "gray": return ImageColorAllocate($image,200,200,200); break; }
-- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php