RE: [PHP-DB] Processing web forms

2006-04-16 Thread ron.php
Thanks Bastien. It works now. Amazing. I am understanding the $_POST[] command. Thanks for your help. Ron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Processing web forms

2006-04-16 Thread Bastien Koert
Ah i getcha. Checkboxes only have a few options as values (On, or a value that you give it (like 1). Personally I tend to use (esp for items like permissions that are either on or off) a value of 1. Then if its 1, I know that the box was checked and that is what the user wants to have. $3 =

RE: [PHP-DB] Processing web forms

2006-04-16 Thread ron.php
Good morning Bastien This doesn't help. I am having no problems creating the form of what the current permissions are based on the permission access table. I am not sure what to do with the form once it has been submitted. I am able to create the table which shows each permission function

RE: [PHP-DB] Processing web forms

2006-04-16 Thread Bastien Koert
If your list of permissions is a fixed length set, you can simply create and array of those permissions $perms = array('create','insert','update','delete'); The functions that have these permissions can be stored in a table and just retrieved thru a loop. To create your matrix structure of per

[PHP-DB] Processing web forms

2006-04-16 Thread ron.php
I am not sure how to apply the array ('priv1', 'priv2', 'priv3' ...); to what I am programming because the number of web functions will be increasing --- it isn't a set number. I have never worked with arrays before. Is there another way to define the array? I am storing information about