33 users online (0 members and 33 guests)  

Thread: PHP Help


  Results 1 to 2 of 2
  1. #1
    hugh's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2008
    Posts
    4

    PHP Help

    I created a table that has current data in it and trying to allow the user to modify those entries as well as add new data and save all of the information. I have attached the php code as well as the javascript. One of the issues is how to read the data from the table that has the same table headers into the database.Thank you in advance
    Attached Files Attached Files

  2. #2
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: PHP Help

    I am not real sure what you are trying to do. Are you trying to create an editable Excel-like table? If so, there a couple options that I can think of.

    1. Use JavaScript to update a hidden field with the current value using onChange. Make sure the table is within a form, and when they click on the Save button, the information can then be processed as needed.
    2. Use HTML input tags to hold the data. Then Save using a form and the processing power.

    I am not sure what you are looking for based on the files you attached. A little more description would be helpful.



Tags for this Thread