php query output save as text file
I have a page on my website that pulls out information from a table and is formatted with css. I can't find a way to save the page as is, as a text or pdf file. I found a pdf site that does this http://pdfmyurl.com/ but I was hoping to do the same thing on my own site wihtout external sites. The web page has a session making sure the user is logged in, and depending on the user_id depends what data is pulled out the database. To clarify, I want the users to be able to view this page. On the page I was hoping for a "SAVE TO COMPUTER" button that would save that page as is. I found <?php //Link