Form question

Discussion in 'PHP' started by white10, Jul 6, 2007.

  1. #1
    I want to know if you can take a value from a form(input type ='text' etc.) and store it in a variable without submitting the form.
     
    white10, Jul 6, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    The form is on the client's side, and PHP on the server. So in some way the value needs to get there if you want to work with it. But this is not possible without submitting the form. Unless you want to use AJAX.
     
    nico_swd, Jul 6, 2007 IP
  3. white10

    white10 Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks Nic,
     
    white10, Jul 6, 2007 IP