[program-l] Re: php question

  • From: "Jacob Kruger" <jacobk@xxxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Fri, 16 Mar 2012 07:46:06 +0200

It really depends, but, I often enough let a page resubmit to itself, and then 
change the output, or else, suppose the more common practice is to let each 
page submit to another one that then processes it's form submission etc. - sort 
of step by step process.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'

  ----- Original Message ----- 
  From: Bryan Schulz 
  To: program-l@xxxxxxxxxxxxx 
  Sent: Friday, March 16, 2012 7:42 AM
  Subject: [program-l] Re: php question


  hi,

  ok, i guess i meant to ask is the more common style to combine php and html?

  the samples i learned from use the form action method to call the separate 
php file.
  thanks.

  Bryan Schulz

    ----- Original Message ----- 
    From: Jacob Kruger 
    To: program-l@xxxxxxxxxxxxx 
    Sent: Friday, March 16, 2012 12:27 AM
    Subject: [program-l] Re: php question


    Both the code samples I offered did in fact do that - call all records, and 
just loop through them echo'ing multiple select/option elements/items per 
record.

    Stay well

    Jacob Kruger
    Blind Biker
    Skype: BlindZA
    '...fate had broken his body, but not his spirit...'

      ----- Original Message ----- 
      From: Bryan Schulz 
      To: program-l@xxxxxxxxxxxxx 
      Sent: Friday, March 16, 2012 4:28 AM
      Subject: [program-l] php question


      hi,

      i was thinking about my list of teams and the loop to place a pair of two 
teams in each select list.
      wouldn't it be less code to load all 32 teams into $team variables and 
fill the form values instead of loading two teams then changing the where 
condition to do the same from the next record?
      thanks.

      Bryan Schulz

Other related posts: