FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » php help
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
php help [message #175291] Wed, 31 August 2011 22:23 Go to previous message
bob is currently offline  bob
Messages: 11
Registered: February 2011
Karma:
Junior Member
I need some php help.

I need to replace â followed by two unknown characters with an
empty string.

I tried this, but it's not quite right:


$newstring=preg_replace ("/â??/i", "",$newstring);

Any ideas?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: try / catch or INSERT INTO... ON DUPLICATE KEY UPDATE
Next Topic: PHP script to only be accessed by cron
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 06:39:26 GMT 2024

Total time taken to generate the page: 0.04173 seconds