Hello,
My question is how to use an alternative function, but does the same job, to print_r in php, especially to save values, not just to show it on the browser.
<?php
$a1=array("Dog","Dog","Cat");
$a2=array("Pluto","Fido","Missy");
array_multisort($a1,$a2);
print_r($a1);
print_r($a2);
?>
How can I save the results in a text document or other types of documents.