RE: [PHP] MySQL Query
| From: | John W. Holmes | Date: | Wed, 05 Mar 2003 17:49:01 +0000 |
| Subject: | RE: [PHP] MySQL Query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138322@lists.php.net to get a copy of this message | ||
> Is there a way of updating a table so that I can add some sort of
> identifier
> to each field, something as simple as x=1 will do. I want to be able
to
> modify the table so I can set a variable for each column so I can tell
> whether I can let a user modify that field. If I modify the fieldname
then
> the web application wont work. The purpose of this is to create a
content
> management system that will allow me to set which fields are editable
by
> the
> user. I don't want to add another field to each table because I want
the
> system to be as portable and pluggable into other web sites as
possible.
>
> Any ideas would be greatly appreciated.
Use a separate table to control permissions and bounce each action off
of that.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/