$ttt = mysql_query("SELECT name, fullname FROM user WHERE id = $_SESSION[id] ORDER BY id DESC LIMIT 10");
if (mysql_num_rows($ttt)) {
while ($rrr = mysql_fetch_assoc($ttt))
$_SESSION['list'][] = array($rrr['name'], $rrr['fullname']);
}
var_dump($_SESSION['list']);