You may or may not find this worth reading: http://richardlynch.blogspot.com/2007/07/php-in-html.html Bottom line is that what you are trying to do can't be done in PHP. You'll have to resort to Javascript and DIV tags with display: none; switching to display: block; -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php