Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $beers = 99;
- while ($beers > 0) {
- echo $beers." bottles of beer on the wall, ".$beers." bottles of beer.<br />";
- $beers = $beers-1;
- echo "Take one down and pass it around, ".$beers." bottles of beer on the wall.<br /><br />";
- }
- echo "No more bottles of beer on the wall, no more bottles of beer.<br />
- Go to the store and buy some more, 99 bottles of beer on the wall.<br />";
- // NOTE: The code in this paste does not reflect the nonexistant drinking habits of the coder.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement