Re: [PHP] multiple forms one page

2012-08-27 Thread Tedd Sperling
On Aug 27, 2012, at 12:08 AM, Rosie Williams wrote: > > Hi all, > I am a newbie to PHP. I have several php forms which were originally on > separate pages now included in the one page. Each form had the following code > in it: > function mysql_fix_string($string){ if (get_magic_quotes_gpc

Re: [PHP] multiple forms one page

2012-08-26 Thread Adam Richardson
On Mon, Aug 27, 2012 at 12:08 AM, Rosie Williams wrote: > > Hi all, > I am a newbie to PHP. I have several php forms which were originally on > separate pages now included in the one page. Each form had the following code > in it: > function mysql_fix_string($string){ if (get_magic_quotes_gp

Re: [PHP] multiple forms one page

2012-08-26 Thread tamouse mailing lists
On Sun, Aug 26, 2012 at 11:08 PM, Rosie Williams wrote: > > Hi all, > I am a newbie to PHP. I have several php forms which were originally on > separate pages now included in the one page. Each form had the following code > in it: > function mysql_fix_string($string){ if (get_magic_quotes_gp

[PHP] multiple forms one page

2012-08-26 Thread Rosie Williams
Hi all, I am a newbie to PHP. I have several php forms which were originally on separate pages now included in the one page. Each form had the following code in it: function mysql_fix_string($string){ if (get_magic_quotes_gpc()) $string = stripslashes($string);return mysql_real_escape

RE: [PHP] multiple FORMS on same page problem.

2003-09-17 Thread Ruessel, Jan
Sys, GE Interlogix) Cc: [EMAIL PROTECTED] Subject: Re: [PHP] multiple FORMS on same page problem. Golawala, Moiz M (IndSys, GE Interlogix) wrote: > It is almost working.. I can't figure out why I can get the "someVal" to page5.php. > > file: page4.php > >

Re: [PHP] multiple FORMS on same page problem.

2003-09-16 Thread John W. Holmes
Golawala, Moiz M (IndSys, GE Interlogix) wrote: It is almost working.. I can't figure out why I can get the "someVal" to page5.php. file: page4.php if (isset($_REQUEST['submit1'])){ echo "button 1 was clicked, act accordingly"; echo "this the request values"; echo $_REQUEST['someVal']; }els

RE: [PHP] multiple FORMS on same page problem.

2003-09-16 Thread Golawala, Moiz M (IndSys, GE Interlogix)
-Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 4:36 PM To: Golawala, Moiz M (IndSys, GE Interlogix); [EMAIL PROTECTED] Subject: Re: [PHP] multiple FORMS on same page problem. You can only use one form, as you've figured out. You

Re: [PHP] multiple FORMS on same page problem.

2003-09-15 Thread Chris Shiflett
--- "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]> wrote: > I am creating a page with 2 buttons. ... > > > > > > > > ... > I would like to see the variable 'someVal' in the $_POST of both > "page4 Submit" button and "page5 Submit" button. Then put so

Re: [PHP] multiple FORMS on same page problem.

2003-09-15 Thread CPT John W. Holmes
on "page5.php" that you want to retain. ---John Holmes PS: Sorry for the top-post, but OExpress sucks. :) - Original Message - From: "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 15, 2003 4:17

RE: [PHP] multiple FORMS on same page problem.

2003-09-15 Thread Vail, Warren
Moiz M (IndSys, GE Interlogix) [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 1:17 PM To: [EMAIL PROTECTED] Subject: [PHP] multiple FORMS on same page problem. I am creating a page with 2 buttons. One which will refresh the page and the other that will go to another page. My problem

[PHP] multiple FORMS on same page problem.

2003-09-15 Thread Golawala, Moiz M (IndSys, GE Interlogix)
I am creating a page with 2 buttons. One which will refresh the page and the other that will go to another page. My problem that I need to put all the values into $_POST and have access to when any of the 2 buttons are clicked. If I use the button in 2 seperate form tags I don't have access to a

Re: [PHP] Multiple Forms

2003-09-10 Thread Matthew Vos
Process Forms Matt On Tue, 2003-09-09 at 20:11, Dan Anderson wrote: > Is it possible to tell a browser to send form a to URL a and form b to > URL b? > > (i.e. post to two different URLS) > > Thanks, > > -Dan signature.asc Description: This is a digitally signed message part

Re: [PHP] Multiple Forms

2003-09-09 Thread Robert Cummings
You can have two different forms posted to two different URLs. Not sure if you can in a single submit post two different forms to two different URLs except maybe with Javascript. Cheers, Rob. On Tue, 2003-09-09 at 20:11, Dan Anderson wrote: > Is it possible to tell a browser to send form a to URL

[PHP] Multiple Forms

2003-09-09 Thread Dan Anderson
Is it possible to tell a browser to send form a to URL a and form b to URL b? (i.e. post to two different URLS) Thanks, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple forms

2002-12-30 Thread Chris Wesley
On Mon, 30 Dec 2002, Doug Coning wrote: > However, I want to add another form in the same page. My current form acts > upon itself (i.e. Action = the same page). If I set up another form to do > the same, how would my PHP determine with action submit button was acted > upon? Give your submit bu

RE: [PHP] Multiple forms

2002-12-30 Thread John W. Holmes
> I have an update page that has a form in it. > > However, I want to add another form in the same page. My current form > acts > upon itself (i.e. Action = the same page). If I set up another form to do > the same, how would my PHP determine with action submit button was acted > upon? > > Curr

Re: [PHP] Multiple forms

2002-12-30 Thread Marco Tabini
You should be able to insert a hidden field in your form and that check against that in your PHP script to determine which (if any) of your form was submitted: in your script: --- Begin Message --- Hi all, I have an update page that has a form in it. However, I want to add another fo

Re: [PHP] Multiple forms

2002-12-30 Thread Tyler Longren
- Original Message - From: "Doug Coning" <[EMAIL PROTECTED]> To: "php-general" <[EMAIL PROTECTED]> Sent: Monday, December 30, 2002 3:26 PM Subject: [PHP] Multiple forms > Hi all, > > I have an update page that has a form in it. > > Howev

[PHP] Multiple forms

2002-12-30 Thread Doug Coning
Hi all, I have an update page that has a form in it. However, I want to add another form in the same page. My current form acts upon itself (i.e. Action = the same page). If I set up another form to do the same, how would my PHP determine with action submit button was acted upon? Currently, fo

Re: [PHP] multiple forms on the same page

2002-11-13 Thread Marek Kilimajer
No, simply name them differently ( hi, I have multiple forms on a page that refers to itself on the action. The only difference is that one has one extra field. The two have every other name in common. Will this be difficult to handle? -- PHP General Mailing List (http://www.php.net/) To

[PHP] multiple forms on the same page

2002-11-13 Thread John Meyer
hi, I have multiple forms on a page that refers to itself on the action. The only difference is that one has one extra field. The two have every other name in common. Will this be difficult to handle? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] Multiple Forms and 1 SQL table

2002-07-03 Thread Alberto Serra
CM wrote: > What do you do if you have a huge form that you want broken up into several > different forms but each time the submit button is pressed the info is saved > to the sql table. > > Do you just create the table on the first form submit and then on each > subsequent form you just update t

Re: [PHP] Multiple Forms and 1 SQL table

2002-07-03 Thread Analysis & Solutions
On Wed, Jul 03, 2002 at 07:18:45PM -0600, CM wrote: > > What do you do if you have a huge form that you want broken up into several > different forms but each time the submit button is pressed the info is saved > to the sql table. > > Do you just create the table on the first form submit and then

[PHP] Multiple Forms and 1 SQL table

2002-07-03 Thread CM
What do you do if you have a huge form that you want broken up into several different forms but each time the submit button is pressed the info is saved to the sql table. Do you just create the table on the first form submit and then on each subsequent form you just update the table? -- PHP

RE: [PHP] Multiple Forms

2002-03-03 Thread Zak Greant
On Sun, 2002-03-03 at 20:31, Martin Towell wrote: > 1) not unless you have them opening up a new window for each form > 2) combine them into one form Also, this topic is covered quite often on this list. Check the list archives for the various solutions people have used. http://php.net/sup

RE: [PHP] Multiple Forms

2002-03-03 Thread Martin Towell
1) not unless you have them opening up a new window for each form 2) combine them into one form Martin -Original Message- From: Ramesh Nagendra Pillai [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 2:27 PM To: Php Mailing list Subject: [PHP] Multiple Forms Hai I am having

[PHP] Multiple Forms

2002-03-03 Thread Ramesh Nagendra Pillai
Hai I am having two forms in one php page I want to submit it to second page. My query is 1) Is it possible to submit 2 forms using single submit button 2) If so, how to get both form details in the secon page? Thanx __ Do You Yahoo!? Yahoo! S