Dear all,
I have established and imported a huge CSV file of about 20 thousand entries, about a musical notation archive. I have appended a column named "note_status", with which I would like to tell the database that I do not have a notation for the entry "0", or one page "1", two pages "2", three pages "3", etc.
Please help me with the PHP code, provided that I have the information above.
Secondly, since the number of note files are very numerous, I had to divide them into folders containing 1000 notes, like 1-1000, 1001-2000, etc.
Do I have to add another column, like "note_path", which helps the system find the path, or can we detect it from a column named "repertoire_no", which is exactly the same for the file name (without the page number); for example, a two-page notation for repertoire no 1221 has two files like 1221.gif and 1221_2.gif.
Thank you for your help,
BA
PS: If someone is interested in how I imported the CSV into the corresponding MySQL table, please PM me and I will tell you.