Function in a hash
| From: | PHP | Date: | Thu, 13 Jul 2000 07:23:52 +0000 |
| Subject: | Function in a hash | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6392@lists.php.net to get a copy of this message | ||
I want to develop a validation routine that you have the database field name
as a key and a validation function as the value. I am wanting to validate input
by "walking" this validation hash.
Is it possible to store references to functions in a hash?
Regards,
Paul Meagher