php-db | 2001072
Date: 07/24/01
- Next message: deco: "[PHP-DB] log out"
- Previous message: Sharif Islam: "[PHP-DB] test"
- Next in thread: Chris Hobbs: "Re: [PHP-DB] Dynamic Links"
- Reply: Chris Hobbs: "Re: [PHP-DB] Dynamic Links"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: deco: "[PHP-DB] log out"
- Previous message: Sharif Islam: "[PHP-DB] test"
- Next in thread: Chris Hobbs: "Re: [PHP-DB] Dynamic Links"
- Reply: Chris Hobbs: "Re: [PHP-DB] Dynamic Links"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

