gsmith Posted February 26, 2006 Share Posted February 26, 2006 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 More sharing options...
hacknsack Posted February 26, 2006 Share Posted February 26, 2006 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 More sharing options...
gsmith Posted February 26, 2006 Author Share Posted February 26, 2006 Thanks.I've thought about it more, and I think I'm simply going to take a different approach at what I was trying to do. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now