Passing quotation marks a url parameter
I'm trying to send some text as a parameter to a php page, and I'm not able to get the quotation marks or aphostrophes to look normal.
src="main.php?text=Many of these images are taken with 'low tech'
cameras, including the Diana Camera as well as Agfa's version of a
plastic camera.&picture=statue"
This comes out as:
Many of these images are taken with \'low tech\' cameras, including the
Diana Camera as well as Agfa\'s version of a plastic camera.
Quotation marks won't work at all for obvious reasons, but is there a way to get PHP to parse this correctly?
|