I have a sytem whereby a user uploads a plain text file and this file is then checked and assuming it passes some tests an array is made with data being split on new lines form the original file.
This array is then being inserted in to a database, using a loop and insert statement. Problem is i want users to be able to confirm they want to add the files to the database before it is done, is there anyway to delay the execution of the INSERT statement untill the user requests it?
TIA