Automatic User look margin

MasterJiq

Member
Jul 8, 2016
385
23
Hello,

do someone here know if more than 1 users have rank (4). So it will display on the same chair, so how do I make it arrange automatically with PHP ?

Already use Array(); seems hard. How about switch/case ? can someone help me

Thanks
 
@Iiam
 

MasterJiq

Member
Jul 8, 2016
385
23
khQ0F2N.png

 
@Iiam
 
@Damien can you help me by the way you code the structure in php ? Thanks.
@JayCustom
 

JynX

Posting Freak
Feb 6, 2016
710
438
khQ0F2N.png

 
@Iiam
 
@Damien can you help me by the way you code the structure in php ? Thanks.
@JayCustom
First off: Can't you find a different image? Why rip someone's image off their staff page and THEN ask for their help to code the PHP for it?
Second off: Spoon feeding, jeez man the answer behind this is actually common sense.

The solution: Make a table where it shows the users id, and the spot where they should be on the page.
Ex: Make a table called "staff_spots" with 2 columns: "user_id", "staff_spot"
In the user_id spot add the user's user ID and the staff should be on the page
Then pull it from the DB and put it to use.
Damien told me how he did this a while back.

Edit: You will need a 3rd column to hold the sitting waving standing etc but the idea is the same
 
Last edited:

Users who are viewing this thread

Top