note 9677 added to fwrite

From: Date: Sat, 18 Nov 2000 16:46:20 +0000
Subject: note 9677 added to fwrite
Groups: php.notes 
Request: Send a blank email to php-notes+get-7862@lists.php.net to get a copy of this message
I need to write some html code to a file. here is my script can you help? <-------script---------> <? $str = "did this work"; $cal = "cal.php"; $fp=fopen($cal, 'a+'); fwrite($fp,"$str \n"); fclose($fp); ?> can you help http://www.php.net/manual/function.fwrite.php

« previous php.notes (#7862) next »