Dynamic Links

From: Date: Tue, 24 Jul 2001 16:33:28 +0000
Subject: Dynamic Links
Groups: php.db 
Request: Send a blank email to php-db+get-10714@lists.php.net to get a copy of this message
I think this topic was discussed before. But I couldn't find it in the archive. I have this table mysql> desc inv_table; +--------------+----------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +--------------+----------+------+-----+---------+-------+ | machine_name | char(64) | | | | | | group_name | char(25) | | | | | | OS | char(30) | | | | | | IP | int(15) | | | 0 | | | services | char(35) | | | | | | contact | char(45) | | | | | | suppport | char(45) | | | | | | location | char(30) | | | | | | campus | char(20) | | | | | +--------------+----------+------+-----+---------+-------+ 9 rows in set (0.00 sec) I want to do a browse on the machine name. Then I want to click on that particuluar machine and get rest of the info about that. So I am doing something like this: <? ----- -- WHILE ( $a_row = mysql_fetch_object($result)) { print "<a href=\view.php?machine_name=$a_row->machine_name\>$a_row->machine_name</a> <br>\n"; } ?> Is this ok? But what should my view.php will be in this case. How Do I pass the parameter? Any hint?

« previous php.db (#10714) next »