$max_id) $cid=$max_id; $get_comic_query = "SELECT * FROM comics WHERE ID=$cid"; $comic_array = mysql_query($get_comic_query) or die("Query failed"); $comic_line= mysql_fetch_array($comic_array, MYSQL_ASSOC); if($cid == 1) $previous="#"; else{ $get_previous_comic_query = "SELECT max(id) AS PREVIOUS FROM comics WHERE ID < $cid"; $previous_array = mysql_query($get_previous_comic_query) or die("Query failed"); $previous_line= mysql_fetch_array($previous_array, MYSQL_ASSOC); $previous=$previous_line["PREVIOUS"]; } if($cid == $max_id) $next=$max_id; else{ $get_next_comic_query = "SELECT min(id) AS NEXT FROM comics WHERE ID > $cid"; $next_array = mysql_query($get_next_comic_query) or die("Query failed"); $next_line= mysql_fetch_array($next_array, MYSQL_ASSOC); $next=$next_line["NEXT"]; } //get info for previous comic if($previous != "#"){ $get_previous_archive_query = "SELECT * FROM comics WHERE ID=$previous"; $previous_archive_array = mysql_query($get_previous_archive_query) or die("Query failed: previous comic"); $previous_archive_line= mysql_fetch_array($previous_archive_array, MYSQL_ASSOC); } ?> Polly Calavara's SCRIMSHAW
" height="733" width="550" border="0" alt="" title="">



Scrimshaw Book 2 has finished its amazing run, but you can still read it all online by clicking here.

Alternately, Book 1 - But Horrors, The Robot Whistled, Too! is available to read here or in a big nice printed edition here.


Bathos Calavara Never Knows HMC- Better Read Than Dead
©2012 Scrimshaw is legalized and stuff to P. Calavara, Never Knows HMC, and yo momma so fat she ate the whale! Ooh Burn!