Hey, I have site where I post reviews, and I need to know how I can list the titles of the games reviewed in the database in alphabetical order. Right now, my code is
("SELECT * FROM $tablename WHERE complete!=0 ORDER BY id DESC LIMIT 0, $numArticles",$db);
and I need to change it from listing in order of creation to by the first letter. I am really new to php and would greatly appreciate the help.
Also: Right now I am using a config file that contains the variable of how many articles should be displayed. How can I change this so that it displays 15 or so and then creates a new page? (Example: First page has 15 entries, Second page has 15, keeps creating pages until it runs out.)
Thanks for the help!