this program is no longer applicable or needed. The exact number of digital comics to read is visible on their site.
first go to the
marvel digital comics page, highlight and copy everything on the page (
ctrl a then
ctrl c) and plug it into the page form and hit submit and the number of digital comics available will be displayed.
<?php
$string=$_POST['data'];
if ($string !=""){
$string=str_replace(" ","",$string);
$string=str_replace("issues)","issue)",$string);
preg_match_all("/\((.*?)issue\)/",$string,$storage);
$string=array_sum($storage[1]);
}
?>
<form action=<?php echo $_SERVER['PHP_SELF']; ?> method="POST">
<textarea rows=45 cols=150 name="data"><?php print $string; ?></textarea>
<br><input type='submit' name="queryButton" value="Submit">
</form>
You can try the program out
here.