Re: [PHP] Another how do i question
on 7/23/01 6:25 PM, Kyle Smith at [EMAIL PROTECTED] wrote: 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) Did you try $name . br . $last_name, etc. Although the br will just show up as plain text in a text email, so I'd try the new line character \n. Matt -- 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]
Re: [PHP] Another how do i question
on 7/23/01 10:49 AM, Matt Greer at [EMAIL PROTECTED] wrote: on 7/23/01 6:25 PM, Kyle Smith at [EMAIL PROTECTED] wrote: 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) Did you try $name . br . $last_name, etc. Er, I mean $message = $name . 'br' ... ; Matt -- 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]
RE: [PHP] Another how do i question
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]