Dynamic Form

Discussion in 'PHP/MySql' started by bitane, Aug 8, 2011.

  1. bitane New Member

    Member Since:
    Jun 17, 2011
    Message Count:
    269
    Likes Received:
    0
    Hi all.

    I have a basic form with a drop down list then some text boxes whose purpose is to edit data stored in a database. The user would select what they want to edit from the drop down list and the current values would dynamically appear in the text boxes ready to be changed as required.

    Aside from the database, the form and populating the drop down I have nothing! I am aware that I could use a separate php script through the form action but I don't want to add an extra click as the user has already made two to get to this page.

    I therefore am thinking down the route of a java onChange event, which in know isn't php but both languages are going to need to be incorporated, aren't they?

    Any suggestions?

    Thanks
  2. MarPlo Member

    Member Since:
    May 12, 2011
    Message Count:
    66
    Likes Received:
    6
    Hy,
    The thing that solve that problem is called Ajax.
    For some resources and tutorials, see Ajax Course.

Share This Page