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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
phphunger
Forum Commoner
Posts: 45
Joined: Tue Aug 11, 2009 11:56 pm

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

Post 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.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

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

Post 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().
Post Reply