ballhogjoni Posted April 26, 2007 Share Posted April 26, 2007 I can't get the "<<Previous" part to show up correctly when I open it with the browser. All it pulls up is "<" and cuts out "<Previous". I tried to escape the < using the back slash but the browser prints the backslash as well. Any Ideas? <?php echo "<a href=\"".$_SERVER['PHP_SELF']."?page=$prev\"><\<\Previous</a> "; ?> Quote Link to comment Share on other sites More sharing options...
per1os Posted April 26, 2007 Share Posted April 26, 2007 Escaping only works with an actual programming language. for HTML < is what you want: <?php echo "<a href=\"".$_SERVER['PHP_SELF']."?page=$prev\"><< Previous</a> "; ?> Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted April 26, 2007 Author Share Posted April 26, 2007 thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.