How do I escape a copyright symbol. I need to have PHP echo the symbol for a page footer.

Thanks,
Josh

    all I can think of what your saying is just to display the copyright symbol...

    well

    <?php echo "symbol"; ?>

    Should do it, the symbol part being the copyright symbol &copy;.

    There are 3 ways to get this symbol,

    1. Find it, copy and paste it
    2. Create it using ASCII, holding down alt and typing in a 3 digit number (my list recommends 169, but this doesn't work for some reason!)
    3. & copy ; as HTML )without the spaces) also gives it

    <?php echo "&copy;"; ?> Should therefore give what you want, as far as I can see.

      Write a Reply...