Anyone can help me in this thing?
I have been trying for a long time but the same thing happens. I have a text file storing names of some softwares. These softwares need to store some records in the database.
Now, I want to remove the software's records in the database when I delete the affected software from the text file.
But the current coding I have works like this:
Only when I remove 2 softwares and more, everything works fine.
If I remove only 1 software, this record in the database would not be deleted till a second software is also deleted.
I have attached a file on the codes. First time coding...so a bit messy.