I've been googling and searching through these boards for an answer but have yet to really find what i need
ive built this:
function noWhiteSpace ($string)
{
$string = str_replace(' ' , '', $string);
$string = str_replace('\n', '', $string);
$string = str_replace('\r', '', $string);
$string = str_replace('\t', '', $string);
return $string;
}
but it still doesnt work 100%... while visually the output looks great, when i view source i can see tons of whitespace and tabs that are still there