Exemplo n.º 1
0
        echo "<tr>";
        foreach ($ret[0] as $key => $val) {
            if (is_numeric($key)) {
                continue;
            }
            echo "<td>";
            echo $key;
            echo "</td>\r\n";
        }
        echo "</tr>";
        foreach ($ret as $row) {
            $this->htm_tr($row);
        }
        echo "</table>\r\n";
    }
}
//class
//exit(0);
if (isset($_GET["test"]) && $_GET["test"] == 1) {
    //=================
    //usage sample
    //=================
    print "<br>======<br>";
    ///////////////////
    $db = new MysqlHieroglyphics();
    //$sql="SELECT * FROM `Jiaguwen`";
    //$ar = $db->query($sql);
    //print_r($ar);
    $db->showimg();
}
//if