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]
|