0 Replies Latest reply on Nov 16, 2006 7:04 AM by Paulie579

    Looping a query with text fields

    Paulie579
      I need to loop a query (fields: FName,LName,Phone) in textboxes.
      List all textboxes in one form and be able to update the db with all changes at once.

      <cfloop query="ListMembers">
      <input type="text" name="FName#MemberID#" value="#FName#">
      <input type="text" name="LName#MemberID#" value="#FName#">
      <input type="text" name="PhoneName#MemberID#" value="#FName#">

      </cfloop>

      <input type="Submit" value="Update">

      Now i need to update the db and not sure how to do that?

      Thanks for the help