Jump to content

? in URL and $_GET


gsmith
 Share

Recommended Posts

I've been taking advantage of putting various information in my URL's and retrieving them on the next page with the $_GET[] command.I now have one point where I'd like to send a variable in the URL....but it's an array, and I won't even know the size of the array until run-time. (It is a single dimension array though) Can this be done? If so, how?

Link to comment
Share on other sites

There is a limit using this method:HTML Form Tag

method="get": This method sends the form contents in the URL: URL?name=value&name=value. Note: If the form values contains non-ASCII characters or exceeds 100 characters you MUST use method="post".
How are you generating the array?AFAIK you would have to format a string, then parse it at the server.-hs
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...