Re: Building an array from a URL

From: Date: Thu, 05 Apr 2001 01:57:33 +0000
Subject: Re: Building an array from a URL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47158@lists.php.net to get a copy of this message
Hell Knut, "Knut H. Hassel Nielsen" wrote: > Did you try to see if $HTTP_GET_VARS can help you ? It's useful for pulling down the URL variables into an array, however I'd now like to go to the next step of pulling out data of an array of arrays... All of the files here are in a database. http://openconcept.ca/rabble/newsfeeds.phtml Select a number of them and it brings you here: http://openconcept.ca/rabble/superRSS.phtml?superRSS173=1170&superRSS177=1189 Pulls in the right data and everything. However, I'd now like to write this data to a database (after making minor adjustments): http://openconcept.ca/rabble/superRSS.phtml?Title%5B1170%5D=ANTI-FTAA+TOUR+TO+THE+NORTHEASTERN+UNITED+STATES&URL%5B1170%5D=http%3A%2F%2FProtest.Net%2Fview.cgi%3Fview%3D2052&Abstract%5B1170%5D=dd&Title%5B1189%5D=Rich+World%27s+Trade+Ministers+Discuss+New+Trade+Round&URL%5B1189%5D=http%3A%2F%2Fwww.wtowatch.org%2Fwtowatch%2Fnews%2Findex.cfm%3FID%3D2108&Abstract%5B1189%5D=dd&new_superRSS=new_superRSS However I now have an array of arrays to seperate and it doesn't seem to be working like the first one did. > Its an array of every variable posted by GET (the way you described) It was a GET & not POST indeed. > Else : > Split the different key/values with the delimiter '&' and thereafter split the > elements in the array by '=' How do I pull in this data if not as an array? Mike -- Mike Gifford, OpenConcept Consulting, http://openconcept.ca Offering everything your organization needs for an effective web site. Featured Client: http://www.aboriginalrightscoalition.ca/ If a book doesn't make us better, then what on earth is it for? - Alice Walker

« previous php.general (#47158) next »