What makes you say that
//proplem here ----> $org =$_GET['product_id'];
is the problem.
Have you tried
echo $_GET['product_id'] // to check the value of the passed variable
echo $org // to check the org variable
You may need $POST or $GET depending oh how the variable was sent across
Also, passing on something that was passed to me instead of
Instead of
while ($titlelist = mysql_fetch_array($qresult2)) {
$bookID = $titlelist[0];
$title = $titlelist[1];
$authorfirst = $titlelist[2];
$authorlast = $titlelist[3];
print("<TR><TD><A HREF=\"book.php?bn=$bookID\" class=\"roll\">$title</A></TD><TD>$authorfirst $authorlast</TD>");
}
Try
while ($titlelist = mysql_fetch_array($qresult2))
{
print "<tr><td><a href='book.php?bn=" . $titlelist[0] . "' class='roll'>" . $titlelist[1] . "</a></td><td>" . $titlelist[2]. " " . $titlelist[3] . "</td></tr>";
}
Should work exactly the same, but far less code (thanks to whoever it was that told me to do it that way!!)
Also, try giving us a clue as to what is wrong and a bit of interaction with other users makes for a much better place for us all to post to. (Also helps people looking for solutions via a search later on)
Cheers,
Neil.