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 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php