So many websites have downloadable pdf articles from their news articles or something like that am I curious if there is a way to take data from a MySQL database and insert it into one.
For example, on a project I am making i have a page called 'servers.php' i am curious if there is a way to make a folder called /pdf/ for when the user clicks download it takes them to a page like '/pdf/servers.pdf'
Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25 - Andrew Rutherford
Unless you have a specific reason for dynamically generating a PDF, it is probably a good idea not to do it unless you have some sort of caching function. Generating things like this are intense on the server, especially when done in large volumes. I would advise doing what you need to do to each PDF, storing them then linking them in a database opposed to dynamically generating the content each time.