> I just added the return statement and the semicolon, because the error was complaining about it not being a proper PHP statement basically. That's beautiful, thanks. I just stumbled across a forum post that said it wasn't possible and was about to give up for the day. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php