Menu
What’s the quickest way to dump the contents of an array into
a text (.php) file.
$file = “database.php”;
$fh = fopen($file,’w’);
//function to dump the info into
the database.php file with a single
line break after each element
fclose($fh);
can i get a little help with a quick function
to do that for me?
maybe a for loop or foreach or array_walk?
thank guys