Is it possible to use variable variables from form values inside a function.
For example when submitting form values, this works fine: foreach($_POST as $key=>$value) { if (empty($$key)) { print "empty value $key<br>"; } } but, this doesn't: function myFunction() { foreach($_POST as $key=>$value) { if (empty($$key)) { print "empty value $key<br>"; } } } Anyone dealt with this? ======================= Ron Dyck WebbTech www.webbtech.net [EMAIL PROTECTED] 905 734-1164 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php