Home | Books | Reports | Log in

Book Courses

Pages

Ring of Carp

Categories

Archive

The Carp 500

get_results(“SELECT b.bookID as id, b.title as title, b.author as author FROM `books` b, `listdata` l WHERE l.listid=’52’ AND b.bookID=l.mediaID AND l.mediatypeid = ‘books’ ORDER BY author, title”);
$count = 1;
echo “

    “;
    foreach($results as $result)
    {
    echo “
  1. $result->author — id\”>$result->title
  2. “;
    $count++;
    }
    echo “

“;

?>