Re: Function stored in a database
| From: | Miguel Cruz | Date: | Tue, 09 Apr 2002 14:42:13 +0000 |
| Subject: | Re: Function stored in a database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92236@lists.php.net to get a copy of this message | ||
On Tue, 9 Apr 2002, Anzak Wolf wrote:
> 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();
http://php.net/eval
miguel