Definition
The quoted_printable_encode() function converts an 8-bit string to a quoted-printable string.
Syntax
quoted_printable_encode(string)
Parameters
Parameter | Description |
---|---|
string |
Required. Specifies the 8-bit string to be converted. |
Example
<?php
$hello = "Hello\nWorld!";
echo quoted_printable_encode($hello);