Re: Exporting data from database using fopen

From: Date: Fri, 13 Aug 2004 17:23:09 +0000
Subject: Re: Exporting data from database using fopen
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-193723@lists.php.net to get a copy of this message
On Saturday 14 August 2004 00:31, Vern wrote: > I got it. In case anyone is interested. I changed the code so that the > field value was a became the variable $name and it worked. > > $name = $rsITEMS->Fields('item_id'); > fwrite($fp, "$name\n"); But did you take the fopen() out of the while-loop? It makes no sense for it to be in there. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* The only thing necessary for the triumph of evil is for good men to do nothing. - Edmund Burke */

« previous php.general (#193723) next »