Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 01-06-2009, 07:46 AM using htmlentities
numbenator's Avatar
Webmaster Talker

Posts: 516
Location: London
Trades: 0
Hi

I have a problem in that i wish to convert the ü in MüLLER to a Ü so the result will be MÜLLER

i am using htmlentities as below :

$titleUpper="MüLLER";

$revisedTitle = str_replace (htmlentities (chr(252)) , htmlentities (chr(220)) , $titleUpper);

However, $evisedTitle remains as MüLLER

could anyone offer someinsight into this please.

cheers
__________________

Please login or register to view this content. Registration is FREE
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
 
Register now for full access!
Old 01-06-2009, 10:38 AM Re: using htmlentities
Insensus's Avatar
Ultra Talker

Posts: 487
Name: Mark Stegeman
Location: Netherlands, Europe
Trades: 0
Try this instead:

$revisedTitle = str_replace (chr(252) , htmlentities (chr(220)) , $titleUpper);
__________________
<?php ($helpfull>0)?$talkupation++ : '';?>
Insensus is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to using htmlentities
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15549 seconds with 12 queries