If you mean what I think you mean:

<TD><A HREF="somewhere.php?somevar=something">Some Text (ID?)</A></TD>

> -----Original Message-----
> From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, 10 March 2002 12:13 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Selecting a Queried Row
> 
> As a newbie at PHP (and relative newcomer to HTML and web design) I've
> been
> wading through documentation trying to accomplish various tasks.
However,
> I'm
> stumped on how to proceed with the following:
> 
> I would like a web vistor to be able to select a row from a table that
has
> been generated from a query. The problem is I don't know how to code a
> paricular column (using the present <td> . . </td> syntax of the
table) so
> that each cell would have a "clickable" element (perhaps the 'ID'
number).
> 
> Once that cell is clicked, I would like to code
'onclick=some_function()'
> 
> Does this sound reasable way of approaching the problem, or is there a
> better
> way. [Btw, at present, while learning PHP, I am using
global_variables=on,
> but would like to try $PHP_SELF method to pick up session variables.]
> 
> Any help would be greatly appreciated, as well as pointers of where to
> look!
> 
> Tia, Andre
> 
> 
> --
> Please pray the Holy Rosary to end the holocaust of abortion.
> Remember in your prayers the suffering souls in Purgatory.
> 
> May God bless you abundantly in His love!
> 
> For a free Cenacle Scriptural Rosary Booklet --
> http://www.webhart.net/csrb/
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to