Contact: aviboots(AT)netvision.net.il
39,859 questions
51,780 answers
573 users
if (!($fp = fopen('d:\\date.txt', 'w'))) return; $f = 3.14; $n = 100; $s = "hi"; vfprintf($fp, "%.2f %d %s", array($f, $n, $s)); fclose($fp); // data.txt // 3.14 100 hi /* run: */