I want to echo some HTML from PHP that contains a link that has the text ‘<<< Back’ on it. I can’t get the ‘<<<‘ to display properly.
Anybody have any ideas? This is my current code:
$paginationDisplay .= ' <span class="paginationNumbersbn"> <a href="' . $_SERVER['PHP_SELF'] . '?pn=' . $previous . '"> '<<<'Back</a></span> ';
If you want to display a literal less-than sign, encode it as
<as per the HTML spec.You might also want to look into another related entity:
«. This produces a double left angle quote: