PHP Loop through A – Z and Print CSS Style Declarations
Something silly that I’m going to keep. Loops through A-Z and prints some stylesheet declarations for me. Here’s the code: <?php foreach (range(’a’, ‘z’) as $i) { // echo "$i\n"; echo "h1.icon_" . strtoupper($i) ." { background-image: url(images/alpha/" . … Read More