Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- [Easy] Please help what is the right replacement code


basketmen - 5:54 am on Aug 24, 2012 (gmt 0)


I have a variable, lets say $peoplename, that have dynamic output

for example

 bryant


or

michael 




like you see, sometime there is   characther in the output, i want to replace that character in the output, please help what is looks like the right replacement code, this should be easy enough, already tried this but its looks like still not right


$nbsp =  ;
$peoplenamereplaced = str_replace($peoplename, $nbsp, $peoplenamereplaced);


Thread source:: http://www.webmasterworld.com/php/4487887.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com