How to remove carriege return using PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have variable
say
$a='
<form action="http://ebizac.com/ar/optin.php"; method="post"
name="signup" onsubmit="return checkSub()"><input type=hidden
name="action" value="addlead"><input type=hidden name="member"
value="1492"><input type=hidden name="auto" value="3121"><input
type=hidden name="thankyou"
value="http://www.aftersense.com/special_thanks.php";>
	<div align="center">
		<table border=0 cellspacing=0 cellpadding=2><tr><td><font size="2"
face="arial, verdana">First Name:</font></td>
			<td width="148"><input type=text size=20 name="fname"></td></tr>
<tr><td><font size="2" face="arial, verdana">Last Name:</font></td>
	<td width="148"><input type=text size=20 name="lname"></td></tr>
<tr><td><font size="2" face="arial, verdana">Email address:</font></td>
	<td width="148"><input type=text size=20 name="email"></td></tr>

<tr><td></td><td align=center width="148"><input type="submit"
value="Let me see ..."></td></tr></table>
	</div>
</form>
' ;

That's is a multiline.

I want to change $a variable, so it's content in one line

thanks

YUAN

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Limitless undying love
which shines around me like a million suns
It calls me on and on across the universe...."
Accross The Universe   - The Beatles -
--------------------------------------------
Visit :
http://www.sabukhitam.com/
======================

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux