You are here: Re: Getting ID from a presented table « PHP Programming Language « IT news, forums, messages
Re: Getting ID from a presented table

Posted by Jerry Stuckle on 03/18/07 21:28

Lennart Anderson wrote:
> "Lennart Anderson" <lennart.anderson@tele2.se> skrev i meddelandet
> news:n%fLh.113$Zp1.154@nntpserver.swip.net...
>> "Jerry Stuckle" <jstucklex@attglobal.net> skrev i meddelandet
>> news:xtCdnUF-VpfLF2DYnZ2dnUVZ_rbinZ2d@comcast.com...
>>> Lennart Anderson wrote:
>>>> I'm having a MySQl table wih a lot of information. I want to present
>>>> some main fields in a table on one page. Each record do, of course, have
>>>> a unique ID. The presnted table will have one field as a linked field. I
>>>> want to be able to click this link, retreive the ID information for that
>>>> record and then present detailed data for that record on the next page.
>>>> How do I retreive the ID?
>>>> Any hints are very much appreciated.
>>>> Thanks
>>> Put the id in the link itself.
>>>
>>> --
>>> ==================
>>> Remove the "x" from my email address
>>> Jerry Stuckle
>>> JDS Computer Training Corp.
>>> jstucklex@attglobal.net
>>> ==================
>> I think I get the idea but I don't know how to doo that. Can you give me
>> an aidea of how such a link with, I guess, embedded ID would look like?
> Furthermore, if I click a link on a displayed record I can only get
> information from the link of the last displayed record. How to get
> information of the ID from any of the earlier displayed records?
>
>

If you want to get information from previously displayed records you're
going to have to save them and pass them along somehow - i.e in a
session or hidden fields in your form.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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