Re: Creating Tab-Delimited Text File

From: Date: Thu, 07 Feb 2002 21:29:15 +0000
Subject: Re: Creating Tab-Delimited Text File
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-83918@lists.php.net to get a copy of this message
"Phillip S. Baker" wrote: > > Greetings All, > > What I want to do is create a tab-delimited text file for download from > records in a database. Construct then execute the desired query http://www.php.net/manual/en/function.mysql-query.php Loop through each record, putting each row into an array, then implode the array with tabs. http://www.php.net/manual/en/function.mysql-fetch-row.php http://www.php.net/manual/en/function.implode.php The user can then save the resulting output manually. Enjoy, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#83918) next »