Archives
Season |
First Comic |
Last Comic |
Comics |
query("SELECT * FROM seasons ORDER BY season_id ASC");
foreach ($getseasons as $getseasons3)
{
$getfc = $mysql_conn->query("SELECT * FROM comics WHERE comic_id = " . $getseasons3['first_comic_id']);
$getfc3 = $getfc->fetch_assoc();
if (!is_null($getseasons3['last_comic_id']))
{
$getlc = $mysql_conn->query("SELECT * FROM comics WHERE comic_id = " . $getseasons3['last_comic_id']);
$getlc3 = $getlc->fetch_assoc();
$count = $getseasons3['last_comic_id'] - ($getseasons3['first_comic_id']-1);
} else {
$getcnt = $mysql_conn->query("SELECT COUNT(*) FROM comics WHERE comic_id >= " . $getseasons3['first_comic_id']);
$getcnt3 = $getcnt->fetch_assoc();
$count = $getcnt3[0];
}
?>
|
() |
()N/A |
|