function show_columns($table)
{
$sql = "SHOW COLUMNS FROM `" . $table . "`";
$this->db_rs = $this->query($sql);
if (!$this->db_rs) {
return false;
}
$obj = array();
while ($obj_temp = $this->fetch_assoc($this->db_rs)) {
$obj[] = $obj_temp;
unset($obj_temp);
}
return $obj;
}