I an wondering what is the best way to display extra detail about
a record /row that has already been read from the server.
Let me explain:
I am showing a sumary of the record (row) in the browser window
and when someone clicks on the link they go to another window that
shows the full product detail.
Now I could use an HTML link like this:
<td class = "type"><a href =<?php echo "detail.php?adref=$ad_ref"; ?> border = '0' ><b><?php echo "$Dtype"; ?></b></td>
and then create the new page with php and looking up the
information again ( because $ad_ref is the primary key)
Could I also use the link without the ?adref=$ad_ref ?
and then use the variables on the client side that have
already been asigned to equal the fields in the row ?
Do I need to do another mysql query when I run the detail.php ?