Re: [PHP] Another form handling posting question

2007-12-07 Thread tedd
At 9:52 PM -0500 12/6/07, Daniel Brown wrote: On Dec 6, 2007 9:49 PM, tedd <[EMAIL PROTECTED]> wrote: > My technical side is like Swiss cheese -- you never know what holes I don't know and can be surprised at what I do. Keep your replies on-list, old man! ;-P I know others enjoy yo

Re: [PHP] Another form handling posting question

2007-12-06 Thread Daniel Brown
On Dec 6, 2007 10:31 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Thu, 2007-12-06 at 21:52 -0500, Daniel Brown wrote: > > > Duh! > > > > > > That's like telling everyone to use the shower-head to water-pic your > > > teeth as Vana White did -- like obvious! > > Am I getting old if I remember

Re: [PHP] Another form handling posting question

2007-12-06 Thread Robert Cummings
On Thu, 2007-12-06 at 21:52 -0500, Daniel Brown wrote: > On Dec 6, 2007 9:49 PM, tedd <[EMAIL PROTECTED]> wrote: > > >On Dec 6, 2007 9:10 PM, tedd <[EMAIL PROTECTED]> wrote: > > > > > >> Also, I recently noticed that FF will add text to a Submit button > > >>if you don't. > > > > > > Actually,

Re: [PHP] Another form handling posting question

2007-12-06 Thread Daniel Brown
On Dec 6, 2007 9:49 PM, tedd <[EMAIL PROTECTED]> wrote: > >On Dec 6, 2007 9:10 PM, tedd <[EMAIL PROTECTED]> wrote: > > > >> Also, I recently noticed that FF will add text to a Submit button > >>if you don't. > > > > Actually, Tedd, even second-generation browsers (e.g. - Internet > >Exploder 2

Re: [PHP] Another form handling posting question

2007-12-06 Thread Daniel Brown
On Dec 6, 2007 9:10 PM, tedd <[EMAIL PROTECTED]> wrote: > Also, I recently noticed that FF will add text to a Submit button if you > don't. Actually, Tedd, even second-generation browsers (e.g. - Internet Exploder 2.x, Netscape Navigator 2.x, et cetera) would add the text "Submit Query" to a

Re: [PHP] Another form handling posting question

2007-12-06 Thread tedd
At 9:02 PM -0500 12/6/07, Robert Cummings wrote: On Thu, 2007-12-06 at 13:02 -0500, tedd wrote: > > Not to critique your form logic itself, but IMHE it is much better to name the submit button "continue" and not "submit". Some browsers, maybe all (I can't remember), screw things up when y

Re: [PHP] Another form handling posting question

2007-12-06 Thread Robert Cummings
On Thu, 2007-12-06 at 13:02 -0500, tedd wrote: > At 10:36 PM -0700 12/5/07, Mike Smith wrote: > >I am trying to recursively send data to the same form. > > > >-snip- > > > >What is the best practice for doing this? > > > > I don't know what the "best" practice is, but this is the way I do it. >

Re: [PHP] Another form handling posting question

2007-12-06 Thread tedd
At 10:36 PM -0700 12/5/07, Mike Smith wrote: I am trying to recursively send data to the same form. -snip- What is the best practice for doing this? I don't know what the "best" practice is, but this is the way I do it. In the form I have a hidden field called step that controls flow via PO

Re: [PHP] Another form handling posting question

2007-12-06 Thread tedd
At 10:30 PM -0700 12/5/07, Mike Smith wrote: I'm trying to Me too -- just as my friends. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Another form handling posting question

2007-12-06 Thread Richard Lynch
EVERY HTTP request is completely independent of the previous/following ones, unless you specifically tie them together with YOUR code. If you want to accumulate data from $_POST, start a session http://php.net/session_start and cram the data you need to keep into $_SESSION as you go. On Wed, Dece

RE: [PHP] Another form handling posting question

2007-12-05 Thread jencisson
hi,mike i suggest that you use Javascript to done this work. like this: ... function submitprocess(){var pobj=document.getElementById("process");var fobj=document.getElementById("form1");if (pobj.value=="pass"){ fobj.action="sucess.php";//change form1's action value return true;//submit the

Re: [PHP] Another form handling posting question

2007-12-05 Thread Casey
'; ?> >:D On Dec 5, 2007 11:35 PM, <[EMAIL PROTECTED]> wrote: > Or try > > echo " == "")){echo "success.php";}ELSE{echo "recursive.php";}echo " METHOD='post'>"; > ?> > > There are a 1000 and 1 ways to make the script smaller yet still produce the > same effect. > Remember there is no reason to

RE: [PHP] Another form handling posting question

2007-12-05 Thread admin
Or try "; ?> There are a 1000 and 1 ways to make the script smaller yet still produce the same effect. Remember there is no reason to declare the POST array for matching in this particular setup. Some may disagree Notice I added a error checking if the array is blank. I am going to stop at t

RE: [PHP] Another form handling posting question

2007-12-05 Thread admin
"; ?> >I am trying to recursively send data to the same form. Based on the data, I >want to determine which "action" is to be processed. It appears that the >$_POST is not being cleared out or cached once it is sent to the server. >Here is my code that I'm trying to test with. It doesn't

Re: [PHP] Another form handling posting question

2007-12-05 Thread Casey
Hm. Tell me if this works: '; else echo ''; ?> Pass Fail On Dec 5, 2007 9:30 PM, Mike Smith <[EMAIL PROTECTED]> wrote: > I'm trying to > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -Casey -- PHP General Mailing Li