Legion Gaming Lord Staff member Nov 23, 2011 1,808 679 Feb 9, 2012 #1 I want to know, if there is a way where you can get a certain amount of ranks on staff list, but get a rank above than them not on there using Code: $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 3 ORDER BY id DESC"); Like, Rank 3 - 6 but not rank 7+
I want to know, if there is a way where you can get a certain amount of ranks on staff list, but get a rank above than them not on there using Code: $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 3 ORDER BY id DESC"); Like, Rank 3 - 6 but not rank 7+
brsy nah mang May 12, 2011 1,530 272 Feb 9, 2012 #2 I think you can use: PHP: $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id = '3', '4', '5', '6' ORDER BY id DESC"); Upvote 0 Downvote
I think you can use: PHP: $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id = '3', '4', '5', '6' ORDER BY id DESC");
Legion Gaming Lord Staff member Nov 23, 2011 1,808 679 Feb 9, 2012 Thread starter #3 Nope Code: Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\app\tpl\skins\Habbo\staff.php on line 91 Upvote 0 Downvote
Nope Code: Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\app\tpl\skins\Habbo\staff.php on line 91
KyleVonnie Come @ me Bro! Oct 26, 2011 993 176 Feb 9, 2012 #4 i can add ranks and put them onto staff list through database, but idk how to with php code . sorry Upvote 0 Downvote