title: How to show 'Save as' dialog box using PHP for text files
body: <p>How can I show the 'Save as' dialog box using PHP which will ask the user to download a string as a text file? Basically I will retrieve some values from the database, and want then to be able to download a .txt file which contains this data.</p>