Search found 3 matches

by demonseed101
Tue Jan 31, 2006 1:51 am
Forum: PHP - Code
Topic: Need help creating a PHP 'A to Z'
Replies: 4
Views: 410

No, I did on a fresh page.

Code: Select all

<?php for($i=ord('A');$i<=ord('Z');$ord++) {
echo chr($i).' ';
} ?>
by demonseed101
Tue Jan 31, 2006 1:37 am
Forum: PHP - Code
Topic: Need help creating a PHP 'A to Z'
Replies: 4
Views: 410

Thanks for the reply.

However, the code to echo the alphabet created 1000s of each letter and crashed my browser.

:: demonseed101 ::
by demonseed101
Tue Jan 31, 2006 1:10 am
Forum: PHP - Code
Topic: Need help creating a PHP 'A to Z'
Replies: 4
Views: 410

Need help creating a PHP 'A to Z'

Hi I'm new to using PHP and MySQL and I'm trying to create a web-based database of my music collection. I have all of the artists in a DB table, and from this am trying to produce an unordered list A to Z, and where the letter exists as the initial letter of an artist, to make this a link to refine ...