ion getTableFields($table) {
$this->setSql( 'SHOW FIELDS FROM ' . $table );
$this->query();
$fields = $this->loadRowList(2);
return $fields;
}
/**
* 转义字符串用于SQL语句
*/
function getEscaped( $text ) {
return mysql_escape_string( $text );
}
}
?>
上一篇:
myspecial.php
下一篇:
多年来只想说一句,我不怪你