Function stored in a database
| From: | Anzak Wolf | Date: | Tue, 09 Apr 2002 14:38:34 +0000 |
| Subject: | Function stored in a database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-92234@lists.php.net to get a copy of this message | ||
I have a question about storing functions. I have some security mode stuff I'm working on and what I'm thinking is that as part of the security mode table I would store a function that could be called if the security mode is called.
Something like this.
Select s.function from s Security g group where g.Group_name = "something"
I know I have the syntax wrong but this is just pseudo code.
Now in my php I would have something like this.
$func = get_row($result)
$func();
Would that work.
-Jim
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com