You are here: Re: Display selected record that has been passed to URL « All PHP « IT news, forums, messages
Re: Display selected record that has been passed to URL

Posted by Johannes Wienke on 03/10/06 19:58

Am 10.03.2006 18:14 schrieb Ren:
> Hello all,
>
> I have a page which can list all records from a table in my local database.
>
> For each record that is displayed there is link next to it. When the link is
> pressed another page opens up and the ID (automated primary key in my table)
> of the record selected is passed to the URL.
>
> So now the URL looks something like this:
>
> http://localhost/Webpages/newpage.php?recordID=3
>
> How do I display the details of the record that has been selected on this
> new page?
>
> Any help much appreciated!

You get that ID with $_GET['recordID'] and can use it in your query.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация