Hello all,
I've got a problem with an drop down menu not connecting/displaying results from an SQL Database.
I'm really new to this, so my advanced apologies, if I might need more explanation than most.
Here is the php code:
<html>
<head>
<?php
include "/home/porcelai/functions.inc";
$length=0;
?>
<title>Porcelain Splendor offers retired LLadro figurines for sale.</title>
<link rel="stylesheet" href="common_files/styles.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body class="capText" link="#FF3399" vlink="#FF66CC" alink="#FF0099">
<?php
$x=$$which;
if (isset ($offset)){
$back = $offset-10;
$offset=$offset+10;
if ($offset>0){
$prev ="<a href=\"display.php?which=$which&offset=$back&$which=$x&thumbs=$thumbs\" method = \"post\"><img src=\"/common_files/prev.gif\" align=\"middle\" border=0></A>";
}else {
$prev = "*";
}
}else{
$offset=0;
}
#$which ($$which,$offset);
if ($num_rows>0){
$thumbs ($result,$which,$offset,$x,$thumbs,$prev,$num_pages);
}else{
echo "Sorry no results were found.";
}
?>
</body>
</html>
Now, I did not create this file. So I'm a bit unsure of what the previous guy did with this. But from the drop down menu, all I am receiving is the "Sorry no results were found" message at all times.
Thanks in advance for any possible help given.