Urgent Text File Database Edit Script Today
Very basic script required to edit a text file database.
The basic database is saved as a text file as CSV using a pipe as the character separator.
The database has just three fields:
All functions must be contained in the single script.
On running the script it will display the photograph, the photograph is in JPEG format and in the same directory as the script.
The directory name will change, so the script needs to work in any directory. All files are in the same directory.
A single line text box with the description editable should display below the photo and then when the user clicks the send button at the bottom all the text is updated.
At the base you will see a send button, on clicking this all the text changes are saved at the same time and the script should then re-open with the new text displayed.
All HTML code and special characters should be removed by the script when saving.
The effect is to create a page displaying all of the images from the database, both the images and database are in the same directory as your script. The text description for each photo from the database is displaed in a form text box and the user can change the text in any or all of the boxes. They click save and all the descriptions are updated at the same time.