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.php would
then have the value of "lab01").

Sharif Islam wrote:

> 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.

> print "<a
> href=\view.php?machine_name=$a_row->machine_name\>$a_row->machine_name</a>
> <br>\n";

Chris Hobbs       Silver Valley Unified School District
Head geek:              Technology Services Coordinator
postmaster:               [EMAIL PROTECTED]

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to