cian
Technical User
- Oct 11, 2001
- 1,383
I'm creating a small application which will use txt files as the database (or an xml file if that's easier)
I will append lines of HTML+text into this database from a HTML form but I need to be able to remove specific lines of text from the db.
For example, if I was creating a list of bookmarks, I have no problem adding to the list but how do I delete one item from the middle of the list?
I haven't yet come across a tutorial which shows how to do this. All I have found is that I would need to read, edit and rewrite the complete content of the file but where do I start with this, or is there a better way?
Can anyone advise me?
- É -
I will append lines of HTML+text into this database from a HTML form but I need to be able to remove specific lines of text from the db.
For example, if I was creating a list of bookmarks, I have no problem adding to the list but how do I delete one item from the middle of the list?
I haven't yet come across a tutorial which shows how to do this. All I have found is that I would need to read, edit and rewrite the complete content of the file but where do I start with this, or is there a better way?
Can anyone advise me?
- É -