[PHP-DB] insert form data

2003-01-08 Thread Mignon Hunter
Hello list, I am able to get the query to work by itself but it will not work using the if (isset ($submit)) and NO errors are outputting...nothing. Any suggestions would be greatly appreciated. I havnt even gotten to the form variables yet...and yes, my globals are turned on (at least for no

Re: [PHP-DB] insert form data

2003-01-08 Thread 1LT John W. Holmes
> I am able to get the query to work by itself but it will not work using > the if (isset ($submit)) and NO errors are outputting...nothing. That's because $submit is not set > Any suggestions would be greatly appreciated. I havnt even gotten to > the form variables yet...and yes, my glob

Re: [PHP-DB] insert form data

2003-01-08 Thread Mignon Hunter
Thank you! - you know (darn it!) I had that submit name in the input type on previous test pages - must have forgot it on this one. I'm stressin'... Thanks again On Wed, 2003-01-08 at 13:41, 1LT John W. Holmes wrote: > > I am able to get the query to work by itself but it will not work using >

Re: [PHP-DB] insert form data

2003-01-08 Thread Mignon Hunter
Uh - excuse me, Me Again... When I post to my next page in the survey in the form action, instead of this page, the data doesnt go into the database. Does anyone know a way around this other than rewriting all the pages into one page? Many thx Mignon On Wed, 2003-01-08 at 13:50, Mignon Hunte

Re: [PHP-DB] insert form data

2003-01-08 Thread 1LT John W. Holmes
> When I post to my next page in the survey in the form action, instead of > this page, the data doesnt go into the database. > > Does anyone know a way around this other than rewriting all the pages > into one page? Use sessions or hidden form fields to transfer the data between pages. ---Joh

Re: [PHP-DB] insert form data

2003-01-08 Thread Mignon Hunter
Actually, I dont need these variables in the rest of the form, I just need to go to the next page...Like a hyperlink on the submit button maybe ??? Seems like I've seen that... Mignon On Wed, 2003-01-08 at 14:12, 1LT John W. Holmes wrote: > > When I post to my next page in the survey in the for

RE: [PHP-DB] insert form data

2003-01-08 Thread Ryan Marrs
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 3:34 PM To: 1LT John W. Holmes Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] insert form data Actually, I dont need these variables in the rest of the form, I just need to go to the next page...Like a hyperlink on the submit button maybe ?

Re: [PHP-DB] insert form data

2003-01-08 Thread 1LT John W. Holmes
Well change/set the ACTION attribute of your form, then, if that's where you really want to go. The second page should check for if(isset($submit)) and process the data. Or do it in one page and redirect with header() (before _any_ output) after the processing is complete. ---John Holmes... >

RE: [PHP-DB] insert form data

2003-01-08 Thread Mignon Hunter
TECTED]] > Sent: Wednesday, January 08, 2003 3:34 PM > To: 1LT John W. Holmes > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] insert form data > > Actually, I dont need these variables in the rest of the form, I just > need to go to the next page...Like a hyperlink on the submit but