note 39017 added to function.fputs

From: Date: Wed, 14 Jan 2004 18:41:29 +0000
Subject: note 39017 added to function.fputs
Groups: php.notes 
Request: Send a blank email to php-notes+get-63543@lists.php.net to get a copy of this message
Hope this can help. If you got a long ugly string that you want to be splitted with newline in a text file, the use \r instead of \n. To write: Godbear is a nice looking handsome guy Then u must do like this: fputs($fh, "Godbear is a\rnice looking\rhandsome guy"); Notice the "\r" that I've used... Godbear ---- Manual Page -- http://www.php.net/manual/en/function.fputs.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39017 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39017&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39017&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63543) next »