Jump to content

Maintaining tables using HTML


sigwhe

Recommended Posts

I am trying to create a very basic webpage (for local use) that will allow me to add records to a table that I can then come back to at a later date. Essentially, I want a mini spreadsheet in a HTML file. Is this possible?

 

I know that I could do this using PHP, but I just want this for local use, so I do not want / need to upload it anywhere. Plus, I am not linking to any database, I am hoping just to have the table saved into the HTML file. I currently have a JS script that will add rows to my table (with predetermined information - not 100% what I am wanting), but once I close the window, that information is not saved.

 

If anyone could at least point me in the right direction, that would be good (hopefully this all makes sense)

Link to comment
Share on other sites

the most efficient way to do this would be to use a database, which I know that you don't want to do.. you could also save the data into a txt file or perhaps using SESSIONS, depending on the amount of data you want to save. txt files are probably the way to go if you do not want to use a database here. Save the data to a txt file, and grab the data to populate your  HTML spreadsheet

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.