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

PHP question on query string formatting

hello list!

if i enter this string inside a <textarea> input box:

it's & a "sample"

and the form method used is GET, the string is passsed in the query string looking
like this:


where i need help... using PHP, how do you convert the first string into a single
line query string format just like the 2nd one?

i tried using the htmlentities() function but it converts things wrongly. it
looks like this:


...  hope someone can help.

regards everyone,

A world of Information. The journey begins here. At Home.
Internet Cebu's web based mail. http://www.i-mailbox.net

Reply to: