lundi 30 novembre 2015

Php shuffle trough database users

How can I shuffle through the users of my database, currently I have this:

$users = db->select($table, $columnUsers);

foreach($users as $user) {
    echo $user['firstname'];
}

This echo's me out all users of my database, but how can I shuffle those users at this point?




Aucun commentaire:

Enregistrer un commentaire