Re: [PHP] php and forms

2003-03-24 Thread Chris Shiflett
--- Iggy <[EMAIL PROTECTED]> wrote: > I have a html page with a whole bunch of textfields and checkboxes. > Once the user fills out the information it is entered it is recorded > in a mySQL db/table the problem that i am having is with the > checkboxes. if they are checked everything works fine, bu

Re: [PHP] php and forms

2003-03-20 Thread Chris Shiflett
--- b b <[EMAIL PROTECTED]> wrote: > This could be a silly mistake or it could be a sign > of configuratin problems. Is register_globals on? If not, your code assumes it is, so that is your problem. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.

Re: [PHP] php and forms question

2001-01-31 Thread Michael Hall
Chip: Sessions aren't my forte, but I can't see where you're registering your session variables. You need to do more than simply use 'session_start' if using sessions ... perhaps you're doing this on another page, but if not you'll need to register variables using 'session_register'. You'll also

Re: [PHP] php and forms question

2001-01-30 Thread Chip
Michael Hall wrote: > , you > have session variables or writing information a database or > file. Hi Michael, I have set up a couple test pages using session variable like this: --- Your products have been registered"; } ?> RA772 RA40 Series

Re: [PHP] php and forms question

2001-01-30 Thread Jeff Lacy
Hia Chip, If I were you (but I'm not, thankfully for both of us), I would use a multiple select, and, maybe sessions. I think sessions are better/easier than hidden fields, but only in php4. Multiple selects are nice. They come back as an array, which is pretty easy to deal with by using a loo

Re: [PHP] php and forms question

2001-01-30 Thread David Robley
On Wed, 31 Jan 2001 14:26, Chip wrote: > I am trying to build a multi-part form and am > using the example from the book Beginning PHP4 > by Choi, Kent, Lea, et al. in chapter 8. > Here's what I want to do - > form_page1 - 10 input fields size=3 > then onwards to > form_page2 - 5 input fields size

Re: [PHP] php and forms question

2001-01-30 Thread Michael Hall
One way to do this is to include information in hidden form fields that pass information along from page to page. If this is too unwieldy, you have session variables or writing information a database or file. Mick On Tue, 30 Jan 2001, Chip wrote: > I am trying to build a multi-part form and am