Help for this page

Select Code to Download


  1. or download this
    while ($book_id = $sth->fetchrow_array()) {
        $booklist_1{$book_id} = 1;
    }
    
  2. or download this
    $sql = "select update_id, title from booklist_table where (book_id = ?
    +) order by update_id desc limit 1";
    $sth = $dbh->prepare($sql) or die("Could not prepare!" . $dbh->errstr)
    +;
    ...
        print "$book_id > $booklist_1{$book_id}{'update_id'}\n";
    }
    $sth->finish;
    
  3. or download this
    $sql = "SELECT book_id FROM booklist_table WHERE (expected_publcn_date
    + >= '".$start_date."' AND expected_publcn_date <= '".$end_date."')";
    $sth = $dbh->prepare($sql) or die("Could not prepare!" . $dbh->errstr)
    +;
    ...
        print "$book_id > $booklist_1{$book_id}{'update_id'}\n";
    }
    $sth->finish;