Thanks, all! I will experiment with the three different solutions presented and see what best fits this application. As to the security aspect, yes, I am aware that this is a simplification and that the values must be sanitized. Have a great week. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php