Hi There
I have the following syntax to trim the whitespace off a url so it can be used to redirect users:
<?php
$web_temp=$myrow['web'];
$web=trim($web_temp);
print("<a href=\"http://www.mysite.com/stats/clicks.php?url=$web\">$web</a><br>\n");
?>
I have now tried this in three browsers and for some reason the variable is only trimmed properly in the little-used Opera 5!
Does anyone know why IE5 (Mac & PC) & Netscape 4.77 (PC) are not processing this properly, or any alternative methods I could use?