On Thursday 15 April 2004 11:58 am, Chris Boget wrote: > Why does it sound totally wrong? A tab is a single character whereas > 2 spaces are 2 characters. > > 1 x 50k = 50k > 2 x 50k = 100k > > Try the following code: > > echo str_repeat( " ", 50000 ); > > or > > echo str_repeat( "\t", 50000 );
Remove all whitespace from the final HTML, then all this doesn't matter. function cleanFinalOutput($html){ $return = eregi_replace("\n", "", $html); $return = eregi_replace("\r", "", $return); return eregi_replace("\t", "", $return); } -- Greg Donald [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php