Ask a Question related to PHP Development, Design and Development.
-
mikel #1
Want to display &#__; characters
Hello,
I have several characters in my html code like / W and so
on....
The problem is, tehy are converted in HTML in their approbiate
characters like @ is @ and F is F
But I DONT want to display the F or the @ I want to display on my site
the &# codes like @
How can i do that?
Thanks mikel
mikel Guest
-
some Chinese characters can't display in the website
We use CF7.0,and use sqlserver2000 as database,but in my website some chinese characters can't display correctly ,just display "?" or other letters... -
how to display unicode characters in datagrid
Characters that are not 7-bit ascii don't display in a datagrid. Do I need a custom cell renderer? My dataprovider is xml data of the form:... -
Cannot display chinese characters on web page
I have migrated all the data from MS Access 97 to MS Access 2000. For unknown reason, my ASP prgram can't retrieve any chinese characters on the... -
BUG: certain characters screw up QA display
I'm connecting to a SQL7 SP4 server, and my local machine has SQL2000's Query Analyzer. I just noticed this bug related to returning an encrypted... -
how can I get Arabic characters to display within Dreamweaver?
does anyone know the answer to this if so please help I would greatly appreciate it thnx. -
Johan Holst Nielsen #2
Re: Want to display &#__; characters
mikel wrote:
Well? A way could be...> Hello,
>
> I have several characters in my html code like / W and so
> on....
> The problem is, tehy are converted in HTML in their approbiate
> characters like @ is @ and F is F
>
> But I DONT want to display the F or the @ I want to display on my site
> the &# codes like @
>
> How can i do that?
[url]http://php.net/htmlentities[/url]
Or just str_replace('&', '&', $foo);
Regards,
Johan
Johan Holst Nielsen Guest
-
Thomas Kaarud #3
Re: Want to display &#__; characters
"Johan Holst Nielsen" <johan@weknowthewayout.com> wrote in message
news:3fcc98f5$0$9740$edfadb0f@dread14.news.tele.dk ...This problem is not really related to PHP, it is a HTML issue, your browser> mikel wrote:>> >
> > I have several characters in my html code like / W and so
> > on....
> > The problem is, tehy are converted in HTML in their approbiate
> > characters like @ is @ and F is F
> Well? A way could be...
>
> [url]http://php.net/htmlentities[/url]
>
> Or just str_replace('&', '&', $foo);
>
> Regards,
> Johan
>
reads those symbols as special characters when they are put next to
eachother. So,
Johan is right, the best way would probably be to do like this:
echo htmlentities('F');
--
Thomas
Thomas Kaarud Guest
-
FLEB #4
Re: Want to display &#__; characters
Regarding this well-known quote, often attributed to mikel's famous "2 Dec
2003 04:57:23 -0800" speech:
Basically, you have to escape the escape character... make the ampersand an> Hello,
>
> I have several characters in my html code like / W and so
> on....
> The problem is, tehy are converted in HTML in their approbiate
> characters like @ is @ and F is F
>
> But I DONT want to display the F or the @ I want to display on my site
> the &# codes like @
>
> How can i do that?
>
> Thanks mikel
ampersand, not a special character...
HTML-code it &#64; (using PHP, coding-it-like-that, however you want),
and it'll display as "@".
--
-- Rudy Fleminger
-- [email]sp@mmers.and.evil.ones.will.bow-down-to.us[/email]
(put "Hey!" in the Subject line for priority processing!)
-- [url]http://www.pixelsaredead.com[/url]
FLEB Guest



Reply With Quote

