Skip to content

Maching users from username to user_group

So im setting up a ranks system on my website. (there is probably an easier way to do it) Here is what i tried. and here is my server.php file for extra info. (details included) Basically i want to set certain sessions to certain groups, its the only way i can hide links from users that are either logged in/l…

Remove similar from foreach

Trying use array_unique but this did not help, since not all fields are repeated for me. My array: ‘Rows’ => array ( 0 => array ( ‘HotelId’ => 94852, ‘OfferId’ …