Question Passing html tags through url variable ( SitePoint Forums PHP ) Updated: 2010-07-21 05:50:03 (2)
Passing html tags through url variable
Does anyone know if and how it is possible to pass html tags through the URL variable? I am trying to pass a variable that has a string which contains <br /> tags and it is not working.
Answers: Passing html tags through url variable ( SitePoint Forums PHP )
Passing html tags through url variable
urlencode()
btw, it might be more appropriate to use sessions to carry the data to the other page instead of passing it through the url.
clamcrusher
Passing html tags through url variable
Thanks for the fast reply. urlencode() is causing spaces to display as plus signs. The problem is that the url variable is being sent to paypal so I don't have access to the page to use urldecode(). Any thoughts?