Selecting a Queried Row

From: Date: Sun, 10 Mar 2002 00:12:39 +0000
Subject: Selecting a Queried Row
Groups: php.general 
Request: Send a blank email to php-general+get-87889@lists.php.net to get a copy of this message
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/

« previous php.general (#87889) next »