Well you haven't posted your source code for your PHP file. The code in that php file is probably already talking to your SQL server and fetching all the pdf filenames. The problem is that the links it creates don't actually point to the pdf files.
Brad's suggesting that you modify the php script so that instead of a link like this:
http://www.casaliving.com.au/testing/pdf/?ID=WickerStorageBoxAssembly.pdf
You change the PHP code to make links like this:
http://www.casaliving.com.au/testing/pdf/WickerStorageBoxAssembly.pdf
But, neither brad nor I know whether that is actually a link to a real pdf file or not. The first type of link could be valid if your server was configured a certain way but apparently it's not.
Given the amount of trouble you are having, you may want to try and find someone to work on this who's a bit more attuned to the programmer's way of thought.