Re: Hyperlinking to a new page
| From: | Jordan S. Jones | Date: | Thu, 09 Oct 2003 22:43:49 +0000 |
| Subject: | Re: Hyperlinking to a new page | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30949@lists.php.net to get a copy of this message | ||
Yes..
J
Shiloh Madsen wrote:
actually theres a problem with this, the page returned usually has several returns in it, so i cant hand code the id in there, will it work to do "page.php?city_id=$city_id"? ----- Original Message ----- From: "Jordan S. Jones" <list@racistnames.com> To: "Shiloh Madsen" <shiloh_madsen@nsc-support.com> Cc: <php-db@lists.php.net> Sent: Thursday, October 09, 2003 4:48 PM Subject: Re: [PHP-DB] Hyperlinking to a new page<a href="/location/to/page.php?city_id=2342343">City Name</a> Shiloh Madsen wrote:haveOk, I know this should be easy, but im just blanking on how to do it. Ithea webpage where you put in a city name, and it queries a database of allthecities in the US and brings back all cities matching that name. This part works just fine. What I want to do now is to create a hyperlink for each city name which, when clicked on will then call up a second page listinglifedetails of that city. What I need to do is pass this page the city id (or any other identifying variable) to the detail page, but I cant for theof me remember how to pass the data from one page to another outside of a form. Any help would be appreciated.-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php