Contact: aviboots(AT)netvision.net.il
40,760 questions
53,134 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: */