On Saturday 26 January 2002 04:48, Greg Sidelinger wrote:
> Ok I'm having a problem with the new line char \n in strings. I'm
> trying to contrast an email that gets sent with the mail() function.
> Here is what I'm doing.
>
> $message = "line1\n";
> $message .= "line2\n\n";
> $message .= "line3\
: Friday, January 25, 2002 3:56 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] strings and \n
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Greg Sidelinger blurted
> Ok I'm having a problem with the new line char \n in strings. I'm
> trying to contrast an email that ge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Greg Sidelinger blurted
> Ok I'm having a problem with the new line char \n in strings. I'm
> trying to contrast an email that gets sent with the mail() function.
> Here is what I'm doing.
>
> $message = "line1\n";
> $message .= "li
Ok I'm having a problem with the new line char \n in strings. I'm
trying to contrast an email that gets sent with the mail() function.
Here is what I'm doing.
$message = "line1\n";
$message .= "line2\n\n";
$message .= "line3\n";
...
$message = "lne99";
mail ("email", "subject", $message);
4 matches
Mail list logo