Try using this: location:foo2.php?text=urlencode($text) Regards, Ing. Gustavo A. Edelstein Tech. Mgr. Equiplus Argentina S.A. ______________________________________ Visit us On Line at www.equiplus.com Email addresses: Operations: [EMAIL PROTECTED] Consulting: [EMAIL PROTECTED] Technical: [EMAIL PROTECTED] Web related: [EMAIL PROTECTED] General: [EMAIL PROTECTED]
----- Original Message ----- From: "Simos Varelakis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 5:45 PM Subject: [PHP] passing <textarea> content from one page to another > Hi to everyone > > I try to pass a varaible ($text) which contains text from <texarea> (with > Header"location:foo2.php?text=$text") from one page foo1.php to foo2.php > and display it to another textarea object in foo2.php > > the problem is that i lose all the contents since the first tab or CR > prsseed in the source textarea > > any suggestions > > thanks in advance > > simos > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]