[snip] I have code below which save MYSQL to csv file. I am using ADODB library to do this. The saving MYSQL to csv file is ok . However i need to allow the the user to enter file name for csv file. Anybody have any ideas how to do this? Thanks [/snip] If you want a true pop-up you will have to use a JavaScript http://www.codefoot.com/javascript/script_invoke_saveas.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php