TutorialMS Community Forum

Full Version: Alphabetical Drop Down Menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wondering which file needs to be edited to make the drop down menus in the admin panel alphabetical (ie. drop down menu when you approve a tutorial, the sub category menu).

Thanks in advance for any help/guidance.
Open approve_tutorials.php, go to line 191 (it should be a MySQL query), change it to:

Code:
$scat = mysql_query("SELECT `name` FROM `sub_categories` WHERE `categorey`='".$row['mcate']."' ORDER BY `name`");
woow thnx
Thanks Scott. That did the trick. Big Grin
Reference URL's