I just thought I'd post this for laughs; Perhaps someone new to php will be able to harvest some information out of it. The idea came from another project, and will be moved over to a spambot killer soon too. :-)
Have fun!
$endnum ="0";
$x = "100";
while($x>$endnum) {
($y = $x-1);
echo "<p>$x bottles of beer on the wall, $x bottles of beer,<br>";
echo "take one down, pass it around, $y bottles of beer on the wall.</p>";
$x--;
}