Help with arrays

Xylo

邪悪
Jul 21, 2015
560
142
Code:
$q = LightShot::$MySQL->query("SELECT * FROM users WHERE rank = ? ORDER BY id ASC LIMIT 5", Array(13);

while($d = $q->fetch()){
if($d['online'] == 1){ $online = 'Online'; }else{ $online = 'Offline'; }
if($d['online'] == 1){ $online2 = 'darkgreen'; }else{ $online2 = 'darkred'; }

"Array (13) is rank 13 on the staff page, I would like to make all of the ranks (6-13) to be in the same array on one page instead of multiple pages with different ranks. I want all of the ranks in the 'Navigation' to just be on one page and not separate tabs."
ecyS58n.png


*Poorly explained by my friend who won't join Devbest so if you need more info or better specification feel free to tell me bc idfk what he's saying either*
 

Users who are viewing this thread

Top