$user_id ORDER BY user_name ASC"); while ($row = mysqli_fetch_assoc($sql)) { $agents[] = $row; } ob_start(); ?>