Legion Gaming Lord Staff member Nov 23, 2011 1,801 669 Jan 30, 2012 #1 Is there a way i can use Code: $get = dbquery("SELECT id,name FROM ranks WHERE id = 3 "); to do 2 ranks apart from eachother, but not the ranks in between?
Is there a way i can use Code: $get = dbquery("SELECT id,name FROM ranks WHERE id = 3 "); to do 2 ranks apart from eachother, but not the ranks in between?
H Haid Member Dec 20, 2011 363 448 Jan 31, 2012 #2 $get = dbquery("SELECT id,name FROM ranks WHERE id = 3 OR id = 4 OR id = 5 OR id = 6 OR id = 7 "); Click to expand... You can remove the "OR id =#" for each of the ranks you do not want it to show. Upvote 0 Downvote
$get = dbquery("SELECT id,name FROM ranks WHERE id = 3 OR id = 4 OR id = 5 OR id = 6 OR id = 7 "); Click to expand... You can remove the "OR id =#" for each of the ranks you do not want it to show.