diff options
author | Kandrashin Denis <mail@lintest.ru> | 2010-10-27 01:04:15 +0400 |
---|---|---|
committer | Kandrashin Denis <mail@lintest.ru> | 2010-10-27 01:04:15 +0400 |
commit | 63cd5ee261d7ff4fb30d57bf81e893ca080619c1 (patch) | |
tree | 6fd6c1ba74c8528b071d9a28c0b290f070afba0d /scripts | |
parent | 705c4223cc3ac4428666830f36b1da73f3f22f00 (diff) |
modify flibusta convert script
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Flibusta/conv_info.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Flibusta/conv_info.php b/scripts/Flibusta/conv_info.php index ba5344e7..406a5054 100644 --- a/scripts/Flibusta/conv_info.php +++ b/scripts/Flibusta/conv_info.php @@ -6,7 +6,7 @@ function author_info($mysql_db, $sqlite_db, $min) { $bb = new bbcode; $bb->autolinks = false; - $sqltest = "SELECT AvtorId FROM libaannotations WHERE AvtorId<$min"; + $sqltest = "SELECT AvtorId FROM libaannotations WHERE AvtorId>$min"; $query = $mysql_db->query($sqltest); while ($row = $query->fetch_array()) { echo "Auth: ".$row['AvtorId']."\n"; @@ -32,7 +32,7 @@ function book_info($mysql_db, $sqlite_db, $min) { $bb = new bbcode; $bb->autolinks = false; - $sqltest = "SELECT BookId FROM libbannotations WHERE BookId<$min"; + $sqltest = "SELECT BookId FROM libbannotations WHERE BookId>$min"; $query = $mysql_db->query($sqltest); while ($row = $query->fetch_array()) { echo "Book: ".$row['BookId']."\n"; |