PHP Echo A "/" Forwardslash?

Posted by Jascha on Stack Overflow See other posts from Stack Overflow or by Jascha
Published on 2010-03-31T00:41:57Z Indexed on 2010/03/31 0:53 UTC
Read the original article Hit count: 473

Filed under:
|
|

I'm very surprised I couldn't find this question here, which makes me very sure it is here and I just didn't see it. Regardless, I'll ask again.

How do I echo a forwardslash "/"?

echo <?php echo $_SERVER['HTTP_HOST'] ?> . '/directory/';

Thanks -J

© Stack Overflow or respective owner

Related posts about php

Related posts about echo