Re: [PHP-DB] Dynamic Links

2001-07-24 Thread Chris Hobbs
In view.php, you'd do something like this: $qry = "SELECT * FROM inv_table WHERE machine_name='$machine_name'"; Execute the query, display the results. $machine_name will contain the value of the string passed in through your link (eg. href='view.php?machine_name=lab01' - $machine_name in view.p

[PHP-DB] Dynamic Links

2001-07-24 Thread Sharif Islam
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 | +--+--+--+-+-+--