Means, my first solution was the only solution. Thanks. -afan > Using a switch like this is more equivalent of > > if(something){ > // true > } else { > // false > } > > You're doing : > > if(something1){ > // true 1 > } > > if(something2){ > // true2 > } > > hope that helps. > > -- > Ray Hauge > Programmer/Systems Administrator > American Student Loan Services > www.americanstudentloan.com > 1.800.575.1099 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php