Re: Another how do i question
| From: | Rehuel Lobato de Mesquita | Date: | Mon, 23 Jul 2001 17:03:00 +0000 |
| Subject: | Re: Another how do i question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59244@lists.php.net to get a copy of this message | ||
Hey Kyle...
Try "\r\n" instead of "\n"
I had the same problem, and this fixed it for me! (someone on the net tipped
me on this one!)
Stretsh
"Kyle Smith" <dbzno1fan@hotmail.com> wrote in message
news:OE50xIPrUuA2MwzPNny00001f8b@hotmail.com...
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