U of A Hope & Texarkana – Booklist


‘sample’ and course <> ‘sdsdf’ ORDER BY course”;

$result = mysql_query($sqlquery);
$number = mysql_numrows($result);
$i = 0;

if ($number < 1) { print "
No books available for listing at this time.
“;
}

else {
echo ”

“;
while ($number > $i) {
$course = mysql_result($result,$i,”course”);
$bundle = mysql_result($result,$i,”bundle”);
$returnable = mysql_result($result,$i,”returnable”);
$quantity = mysql_result($result,$i,”quantity”);
$isbn10 = mysql_result($result,$i,”isbn10″);
$isbn13 = mysql_result($result,$i,”isbn13″);
$description = mysql_result($result,$i,”description”);
$author = mysql_result($result,$i,”author”);

echo “

“;

$i++;

}
}
mysql_close($db);

echo “

COURSE BUNDLE RETURNABLE QUANTITY ISBN10 ISBN13 DESCRIPTION AUTHOR
$course $bundle $returnable $quantity $isbn10 $isbn13 $description $author

“;

?>