hey, i am trying to open an html file and put it into a variable ($content) which i can do no problem, but the problem comes when i want to convert it so all of the html is on one line, i have tried a lot of things including nl2br but that only puts in a <br> aswell.
The html looks like this in the file:
<html>
<head>
<title>page</title>
</head>
<body>
Welcome to this page
</body>
</html>
But needs to be converted to:
<html><head><title>page</title></head><body>Welcome to this page</body></html>
Thanks very much, Craig