Printing

From: Date: Thu, 14 Aug 2014 04:24:16 +0000
Subject: Printing
Groups: php.general 
Request: Send a blank email to php-general+get-323739@lists.php.net to get a copy of this message
Dear List - fprintf($fptr1,"\n\n"); //works $string1 = "this is a test"; echo $string1; //works fprintf($frpr1,"%s\n", $string1); //doesn't work <snip> while ($row1 = mysqli_fetch_row($result1)) {. . . fprintf($fptr1, "%s\t %s\t %-9s\t %s\t\n", $row1[4] -$row1[3], $row1[0],$row1[1],$row1[2] ); //works } fprintf($frpr1,"%s\n", $string1); //doesn't work What am I doing wrong? TIA Ethan

« previous php.general (#323739) next »