PHP Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • malakajoe
    Confirmed User
    • Feb 2003
    • 1751

    #1

    PHP Question

    I want to show the # in either an echo or print call in PHP. But when I have it in, I get a parsing error.

    Here is a sample of the code.

    PHP Code:
    echo "<P>#Text"; 
    
    Says it is expecting a comma, period, or semi-colon on this line.

    I thought I could do ascii for # but didn't work...unless I wrote the ascii wrong.

    Thanks for any help.
    Selfpleasure.com for sale on auction. Closes on Tuesday March 11th at 9pm PST!!!!

    Dirty enough to be good, but clean enough for everyone!
    ------------------------------------------------------------------

    Moral Police - First graduating class coming soon! - Forcing our values across the internet
  • AvanteGuard
    Confirmed User
    • Jan 2004
    • 451

    #2
    Try \#
    Looking for Fast Professional Programming? http://www.imadigan.com
    ICQ: 314-942-262 | MSN/Email: [email protected]

    Comment

    Working...