Hi everyone
I want to add all text files in a given directory to a html combo box, when the user selects a file, I have one php script which takes the file and adds it to mysql query LOAD DATA INFILE!
I have successfully loaded data from a given file, but only when the file is hardcoded like: LOAD DATA INFILE 'C:\myfiles\data.txt'.
I want to get this file from a list in the combo box, please help!!