1) { $ML_Number = ereg_replace("[^[0-9]+]","",$ML_Number); $ML_end = '/0'.substr($ML_Number,strlen($ML_Number)-2).'/'; } // end if($_POST['ML_Number']) ?> Additional Pictures
<< Close Window >>

'."\n"; if (strlen($counter) < 2) { $counter = '0'.$counter; } $jpg = 'http://mediall.rapmls.com/desertareamls/listingpics/bigphoto'.$ML_end.$ML_Number.'_'.$counter.'.jpg'; ++$counter; } // end while } // end if($ML_Number) // NOTE: index.php shouldn't let us come to addl_pics.php if there are no pictures to display, but just in case... if ($counter == 1) { echo '
No additional pictures are available.
'; } ?> << Close Window >>