Function to replace "&<char>;" characters with what they represent?
From: Robert Oschler (no_replies_at_fake_email_address.invalid)
Date: 11/29/03
- Next message: Andy Hassall: "Re: Function to replace "&<char>;" characters with what they represent?"
- Previous message: Paul Cobbaut: "Re: PHP switch stops evaluating"
- Next in thread: Andy Hassall: "Re: Function to replace "&<char>;" characters with what they represent?"
- Reply: Andy Hassall: "Re: Function to replace "&<char>;" characters with what they represent?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 Nov 2003 00:39:02 GMT
Is there a PHP function that will convert "&<char>;" type characters to the
character they represent?
For example:
& to &
> to >
< to >
etc.
If not, has anybody seen a function on any of the PHP script sites that does
this? The problem is I don't know what to search for. If I was dealing
with the escaped characters (%20%2C, etc.) I would look for "escape", but
the name for these ampersand/semi-colon bracketed characters is unknown to
me.
"Sometimes to ask a question you already need to know half the answer."
thx
-- Robert Oschler http://www.dog-images.com -- Devoted to providing free info on the health, nutrition, and training of dogs.
- Next message: Andy Hassall: "Re: Function to replace "&<char>;" characters with what they represent?"
- Previous message: Paul Cobbaut: "Re: PHP switch stops evaluating"
- Next in thread: Andy Hassall: "Re: Function to replace "&<char>;" characters with what they represent?"
- Reply: Andy Hassall: "Re: Function to replace "&<char>;" characters with what they represent?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|