Unless you are sending HTML mail, you need to use newline - not BR

<?php
$email = "[EMAIL PROTECTED]";
$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:[EMAIL PROTECTED]] 
Sent: 24 July 2001 00:25
To: [EMAIL PROTECTED]
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 = "[EMAIL PROTECTED]";
$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: [EMAIL PROTECTED]
AIM: legokiller666



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to