Editing HTML inline
I have a simple table that i would like to make editable..
I have found many instances of code to make all types of data editable, but i can not find one that actually allows for the saving of the changed data...
I have found some mySQL code, but this is just a straight HTML table that need to be updatable by the public/client..
And how is that updated data stored?
saving changed data
input type hidden fields and write the data changed to it, or form text fields
that receive user data (if that is what you are doing). Then at some point the
form has to be submitted. Saving the data is actually a server side process.
You can use ajax or have the page submit to itself and use php in the page
to look for GET of POST vars and do what is necessary on the server side.
Data bases can be used if available, or create flat file (plain text) files that
I use php on the server side. But this off topic for this forum section as I can
Originally Posted by anotherJEK
That's the route i am trying now.. since i've had little luck with JS (not a noob, but not an expert either) in this respect, i'm moving to PHP.. set up an sql db, and just pulling from that with a form at the bottom to add records..
i will add an 'edit' button to the right of each row with an 'edit' button..
seems the most legit way to go about this imho..
on the other hand.. php/sql is harder to debug than js.. as i always have typos and missing ; LOL it never fails..
Originally Posted by stevenryals