">
Munro Watercolors -

Home
Page , Previous  Next   
".") $prefix .= $tn[$i]; else $i= 31; } $tnail="tn_" . $prefix . "_jpg.jpg"; $fulltnail=$row['Category'] . "/" . $tnail; list ($x, $y, $type, $attr) = getimagesize($fulltnail); ?> '"; $sqlstr .= $Cat . "' AND PageNum=" ; $sqlstr .= $Page; $sqlstr .= " ORDER BY Category LIMIT 1;"; $result = mysql_query($sqlstr); if ($row = mysql_fetch_assoc($result)) { $cat = $row['Category']; echo $cat; $sqlstr = "SELECT Filename, Category, Title, Dimensions, Owner, Pdate FROM Pics where Category = '"; $sqlstr .= $cat . "' AND PageNum=" ; $sqlstr .= $Page; $sqlstr .= " ORDER BY Ordernum"; $result = mysql_query($sqlstr); echo $sqlstr ; } else $Success=0; } else $Success=0; } /* End of OUTER WHILE */ ?> ">