I am wondering how to turn a file path into variables that can be stored in a database. I need to get variable for multiple files. An example file is
/l/led_zeppelin/stairway_to_heaven.txt
I want to make
/$letter/$artist/$song
and put the song txt or html file into a Blob field.
My database would look like this :
letter,artist,song,lyrics
Does anybod know how to do this?
/l/led_zeppelin/stairway_to_heaven.txt
I want to make
/$letter/$artist/$song
and put the song txt or html file into a Blob field.
My database would look like this :
letter,artist,song,lyrics
Does anybod know how to do this?