Re: How do I grab stuff out of an array?

From: Date: Mon, 04 Dec 2000 01:58:20 +0000
Subject: Re: How do I grab stuff out of an array?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28498@lists.php.net to get a copy of this message
On Mon, 04 Dec 2000 12:24:16 Jeremy Bowen wrote: > hey, > > Here is what i want to do: > > I want to build a URL like this: > > > www.xxx.org/pics/picview.phtml?image=/images/pic.jpg?caption=Picture%20of%20me%20and%20my%20dog?title=The%20Title The URL should look more like this; www.xxx.org/pics/picview.phtml?image=/images/pic.jpg&caption=Picture%20of%20me%20and%20my%20dog&title=The%20Title note the ampersands (&) instead of the question marks. Then in picview.phtml you can just access the variable created from the GET parameters in the URL string eg; echo "<br>image= $image". "<br>caption = $caption". "<br>title = $title"; etc., etc., etc. Cheers, Brad

« previous php.general (#28498) next »