It appears that I am unable to output the data to a directory because although my user has sufficient privileges on the database to execute the query the user in question does not have file privileges.
As I am reliant on my host I'm looking for other ways to achieve this. Could I possibly set a prompt for downloading the file...? If so, how...? Or could I echo to screen and copy and paste...? I'm looking for a better solution than that last brain fart though. Ideally a download option but although I have scoured the web cannot seem to find anything specifically related to downloading a CSV output from MySQL. -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk ----------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php