Kirsten wrote:
preg_replace('/s+/', ' ', $html);

but watch out, this js code will work:

var v
alert(v)

this one will not:

var v alert(v)


Sure....
but now: how do I access the htm output of the current executing script
before it is send to the user?

output buffering

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to