RE: [PHP] Another how do i question

From: Date: Mon, 23 Jul 2001 16:13:00 +0000
Subject: RE: [PHP] Another how do i question
Groups: php.general 
Request: Send a blank email to php-general+get-59234@lists.php.net to get a copy of this message
Unless you are sending HTML mail, you need to use newline - not BR <?php $email = "dbzno1fan@hotmail.com"; $subject = "Mini survey"; $message = $name . "\n" . $last_name . "\n" . $age . "\n" . $system . "\n" . $res . "\n" . $cpu . "\n" . $comments; mail("$email", "$subject", "$message"); ?> Best Regards, Patrick Lynch. ================================================================== Eirco ================================================================== -----Original Message----- From: Kyle Smith [mailto:dbzno1fan@hotmail.com] Sent: 24 July 2001 00:25 To: php-general@lists.php.net Subject: [PHP] Another how do i question I made this code for a simple for (the end of it) but what do i change in the $message variable so there is a new line between each other variable in $message (ive tried $name. <br>. $last_name and..... **** happens) <?php $email = "dbzno1fan@hotmail.com"; $subject = "Mini survey"; $message = $name. $last_name. $age. $system. $res. $cpu. $comments; ?> <?php mail("$email", "$subject", "$message"); ?> -legokiller666- http://www.StupeedStudios.f2s.com New address.... new site ICQ: 115852509 MSN: dbzno1fan@hotmail.com AIM: legokiller666

« previous php.general (#59234) next »