×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: bejoy balan
Added: Apr 21, 2020 3:41 AM
Views: 4385
Tags: fopen fwrite log
  1.         $myfile = fopen("/Users/corra-220/sites/satv223/var/log/cross-ref.txt", "a") or die("Unable to open file!");
  2.         fwrite($myfile, print_r($fields,1));
  3.         fclose($myfile);