note 42652 added to ref.mail

From: Date: Tue, 25 May 2004 14:44:36 +0000
Subject: note 42652 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-70059@lists.php.net to get a copy of this message
I was not able to print a newline using the \n feature. To workaround this, I used the ASCII dec code. For example: This is the message in the body of an email sent from a web page: $message=('From: '.$yourName.chr(10).'Email: '.$yourEmail.chr(10)); The message displayed might be: From: Sam Spade Email: sam@spade.com The ASCII dec code chr(10) prints the newline character. ---- Manual Page -- http://www.php.net/manual/en/ref.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42652 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42652&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42652&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70059) next »