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 Lennart Anderson on 03/19/07 14:51

"Jerry Stuckle" <jstucklex@attglobal.net> skrev i meddelandet
news:ybqdnXJcAfixAmDYnZ2dnUVZ_vPinZ2d@comcast.com...
> Lennart Anderson wrote:
>> "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?
>
> Do you know how to do it in html? Same idea - just generated with a PHP
> echo statement instead.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstucklex@attglobal.net
> ==================

No, I do not know how to do that in HTML.
But, once again, the problem is that I have a number of records presented in
a table. All records do have unique ID. When preseneted by the hTML page
they are parsed into "hard-coded" HTML and although I can have a field to
act as a link I can't get the ID for the special record I am selecting. Only
the ID for the last presented record will come through since that ID is
still present in the array. Any hint of how to get the ID from any selected
record?

 

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

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