digibandit
You just need to select from DB. Someting like this and then fetch.
$sqltest = mysqli_query(
$mysqli,"SELECT ticket_subject, ticket_priority, ticket_details FROM tickets "
);


of course you can use query parameters and other options like WHERE ticket_priority= 'Low'