How to write the Multiarray to Files

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
vinoth
Forum Contributor
Posts: 113
Joined: Thu Aug 02, 2007 3:08 am
Location: India
Contact:

How to write the Multiarray to Files

Post by vinoth »

Hi All

Anybody provide the code for write the multi array to files through PHP.


Thanks in advance
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

In what way?

Look at fopen(), frwite(), and fclose().
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

var_export()
php.net: var_export wrote:It is similar to var_dump() with one exception: the returned representation is valid PHP code.
Post Reply