* Thus wrote Brent Clements:
> Ok, I still have the problem.
>
> If I echo the string to a webpage, it still contains the ?
>
> So I viewed the source in a notepad, and the thing that shows up next to
> "string" is a TM.
>
> I tried using htmlentities on the string that I'm echoing but the quest
Note: The below function will also strip out tabs and newline characters.
function str_clean($str)
{
for($i = 0; $i < strlen($str); $i++)
{
$tmp=ord($str[$i]))
if ($tmp>31 && $tmp <127)
{
$new_str .= $str[$i];
}
}
return($new_str);
}
On Mon, 18 Oct 200
Ok, I still have the problem.
If I echo the string to a webpage, it still contains the ?
So I viewed the source in a notepad, and the thing that shows up next to
"string" is a TM.
I tried using htmlentities on the string that I'm echoing but the question
mark/tm is still there.
Anybody know how
3 matches
Mail list logo