in PHP imagettftext, should I be able to make line breaks with " " in a string like this?
// The text to draw
$text = 'Something
Else';
When I try this, the text outputted reads "Something\ Else" with 2 back slashes before the n.
This does not result in a line-break.
Firstly, SHOULD a single slash n make a line break ( )?
Secondly, How do i get it to work?
Thanks
is a line break only when the string is delimited with double quotes.
echo 'Something
Else'; // outputs Something
Else
echo "Something
Else"; // outputs Something
// Else