MySQL Forums
Forum List  »  PHP

Re: Cannot select specific record from a list
Posted by: Peter Brawley
Date: March 10, 2006 01:24PM

Does the detail page get the user's selection?

Is that variable, 'camp_id', supposed to uniquely determine the row which the detail page is to display? If so, don't you need something like ...

$camp_id = $_GET['camp_id'];
$qry = "SELECT
...
WHERE camp.camp_id = $camp_id
..."

in the detail page?

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.