Hi,

>
> I have a problem:
> with a mysql_query I get the results of a table field into a list page.
> Is it possible to use this result (as link) to open a new page where the
> detailed results of each row are shown?

So you select one field and list it with a while-loop?
Assuming this you can make a link like this:

while ($row = mysql_fetch_array($result)){
echo $row[field]." <a
href=\"show_details.php?criteria=$row[field]\">Details</a>";
}

and on show_details.php something like this:

$query = "SELECT * FROM table WHERE criteria='$criteria'";
$result = mysql_query($query);

hope this is what you want

cheers
Johannes



-- 
PHP Database Mailing List (http://www.php.net/)
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