I have a file download counter on my website, here, that I am playing around with.
The files are stored in a folder on my server and their filenames are used to populate a mysql database.
What I would dearly like is for the filename without it's extension to be displayed in the table on my webpage but I can't seem to figure it out.
I have tried a few methods but have not got anywhere.
I can't seem to get anything to work when I replace the $val variable in the href statement.
I would be grateful for any pointers here.