<?php
 
require_once "db.php";
 
$db = new db();
 
 
// Fill in the following
 
$tbl_name = 'table in database';
 
 
$sql = array(
 
    'SELECT' => '*',
 
    'FROM' => $db->dbname
 
);
 
 
// Setting the generated SQL to the variable
 
$db->last_sql = $db->build_key_query($sql);
 
 
// Getting the results from the generated SQL
 
$db->last_sql_data(true, false);
 
?>
 
 |