I have a script that allows a flat file to be viewed in a table from a text file, submittedequipment.txt. Each entry in the text file also provides a button to click that will add the entry that goes with it to a second text file, usedequipment.txt. When the entry is added to the second text file I also want it to be deleted from the first text file without deleting the whole file.
I've tried using session variables and if statements as well as creating a hidden form to pass on data, but have had no luck.
Anyone have any code that would do this or suggestions on a direction to go?
thanks