I would guess that there are a couple of "white-space" characters (spaces, newlines, tabs, etc.) in the value. You might want to try something like the following:
$string = $getline['intranet'];
$chars = array();
for($i=0; $i<strlen($string); $i++)
{
$chars[] = sprintf('%03d', ord($string[$i]));
}
echo implode(' | ', $chars);
This will show you the ascii values of any/all characters in the string.
If that is the case and it's a problem, you can simply [man]trim/man the variable to get rid of them.