help with encoding url params - where do you get it
Posted: Sun Dec 15, 2002 2:37 pm
I have a generic browse function that browses 20 rows at a time. I need to keep the "where" part of the SQL, as entered by the user over may pages. For example where "name LIKE "a%"
I tried coding the valiable with urldecode($browseString) and passing it in the URL. It shows up in the URL as
browseString=%20name%20LIKE%20%22a%25%22
But then I read it in the program it sees
name LIKE \\\"a%
which doesnt urldecode to anything helpful
I cannt find any documentation that is helpful - does anyone know some, or can tell me what to do
I tried coding the valiable with urldecode($browseString) and passing it in the URL. It shows up in the URL as
browseString=%20name%20LIKE%20%22a%25%22
But then I read it in the program it sees
name LIKE \\\"a%
which doesnt urldecode to anything helpful
I cannt find any documentation that is helpful - does anyone know some, or can tell me what to do