Is there a way to make the whole array content and make it a string so that i can save it. the string i want to save is same with the output of print_r( $Array ) function.
Array ( 
    [0982385099] => Array ( 
         [Title] => The Key of Life; A Metaphysical Investigation
         [ISBN] => 0982385099 
         [Author] => Randolph J. Rogers 
         [SalesRank] => 522631 ...
I'dd like to have that kind of string saved on a different file( a txt or php file) which will be made by the program that I'm doing.
$str = var_export($array, true);
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With