Page 1 of 1

Writing a record to a file which is fetched from MySQL/php

Posted: Sat Aug 22, 2009 2:17 am
by phphunger
Hi,

How to write to a file when the record is retrieved from the mysql database using php/mysql ? Can anyone suggest me?

Thanks in advance.

Re: Writing a record to a file which is fetched from MySQL/php

Posted: Sat Aug 22, 2009 5:23 am
by aceconcepts
Not exactly sure what you're after but take a look at http://uk3.php.net/manual/en/ref.filesystem.php and in particular fwrite().