I have a simple mysql database and am working with PHP to display results for individually selected items from a table. I can't get individual selections to show. My code is below. It seems that something is not triggering for the .$selectedbow but I don't know how to get it right. Be gentle - I'm totally new to this. Thank you!
$bowinfo = mysql_query("SELECT id, make, description
FROM bowid WHERE bowid=".$selectedbow);
//START THE WHILE LOOP
while ($bowdata = mysql_fetch_array($bowinfo)) {
$id = $bowinfo["id"];
$make = $bowinfo["make"];
$description - $bowinfo["description"];
echo ( "<section>
<p> $id</p>
<p>$make</p>
<p>$description</p></section>
");