Re: [PHP-DB] Suggestions please!

2005-11-22 Thread Graham Cossey
On 11/21/05, Micah Stevens [EMAIL PROTECTED] wrote: Sounds like a decision needs to be made. If statements were born for that. On Monday 21 November 2005 3:41 am, JeRRy wrote: Hi, Okay I have a dj site, I have alogin script and cookies to handle the login. Next I want to add some

Re: [PHP-DB] Suggestions please!

2005-11-22 Thread Joseph Crawford
you might want to create a table called perms and have each row contain a user id and a perm for each the way i have mine setup is a bit more complex but fully configurable. Here's how i would set it up user_permissions - user_id - action - value user_actions - id - title users - id - username

[PHP-DB] Suggestions please!

2005-11-21 Thread JeRRy
Hi, Okay I have a dj site, I have alogin script and cookies to handle the login. Next I want to add some permissions for each dj account. Maybe 3 to start with, 3 permissions. A value or y or n will be set in each permission, with n being the default. Now I need to

Re: [PHP-DB] Suggestions please!

2005-11-21 Thread Micah Stevens
Sounds like a decision needs to be made. If statements were born for that. On Monday 21 November 2005 3:41 am, JeRRy wrote: Hi, Okay I have a dj site, I have alogin script and cookies to handle the login. Next I want to add some permissions for each dj account. Maybe 3 to start

[PHP-DB] suggestions

2005-03-03 Thread Mignon Hunter
Hello I need to dev a small app and I can think of a couple different ways to handle it but not sure the best way. I need to register those who come to our site that want to download .pdf's. They will fill out some information before I redirect to the pdf. I'm thinking the best way to

Re: [PHP-DB] suggestions

2005-03-03 Thread Jochem Maas
Mignon Hunter wrote: Hello Mignon, this is really a php-generals question me thinks (you don't even mention a DB ;-), regardless I need to dev a small app and I can think of a couple different ways to handle it but not sure the best way. I need to register those who come to our site that

Re: [PHP-DB] suggestions

2005-03-03 Thread Matt M.
Hello I need to dev a small app and I can think of a couple different ways to handle it but not sure the best way. I need to register those who come to our site that want to download .pdf's. They will fill out some information before I redirect to the pdf. I'm thinking the best way

Re: [PHP-DB] suggestions

2005-03-03 Thread Jochem Maas
Mignon Hunter wrote: Sorry - forgot to mention the data I'm collecting will go into a dbase, that's why I posted here. fine. but your not having trouble putting data into a DB. yet. :-) Thanks I'll work with the session angle. Please see if this logic is flawed... The hyperlink to the pdf will

[PHP-DB] Suggestions for record insertion

2004-10-11 Thread Stuart Felenstein
I've put together a long form that spans 5 tables of the database. Once the user has reached the final page I want to insert into database but wonder what the logical steps would be. I'll be reading through manual , but thought I'd ask about things like rollback. I'm guessing that for whatever

Re: [PHP-DB] Suggestions for record insertion

2004-10-11 Thread John Holmes
Stuart Felenstein wrote: I've put together a long form that spans 5 tables of the database. Once the user has reached the final page I want to insert into database but wonder what the logical steps would be. I'll be reading through manual , but thought I'd ask about things like rollback. I'm