echo "<pre>"; print_r($_GET);exit;
echo "<pre>"; print_r($_POST);exit; // 换行并输出 POST过来的数组
echo "<script>location.href='main.php'</script>";
echo "<script>alert('发布成功!');location.href='/control.php/bloglist/index'</script>"; // 成功够跳转
ADODB 入门学习基础教程 2
http://www.chinabyte.com/biz/cbfwq/281/2652281.shtml
// 取出记录(使用 FetchRow)/更新记录(Update)/删除记录(Delete)/使用字段对象(Field Objects)/简单分页(Pager)/输出 CSV 档/取出一定笔数的记录 (使用 SelectLimit)/
$sql = "select * from t";
$rs = $conn->Execute($sql);
if ($rs) {
while( $ar = $rs->FetchRow() ) {
print $ar['name'] ." " . $ar['year'];
print "<br>\n";
}
}
echo "<pre>"; print_r($_POST);exit; // 换行并输出 POST过来的数组
echo "<script>location.href='main.php'</script>";
echo "<script>alert('发布成功!');location.href='/control.php/bloglist/index'</script>"; // 成功够跳转
ADODB 入门学习基础教程 2
http://www.chinabyte.com/biz/cbfwq/281/2652281.shtml
// 取出记录(使用 FetchRow)/更新记录(Update)/删除记录(Delete)/使用字段对象(Field Objects)/简单分页(Pager)/输出 CSV 档/取出一定笔数的记录 (使用 SelectLimit)/
$sql = "select * from t";
$rs = $conn->Execute($sql);
if ($rs) {
while( $ar = $rs->FetchRow() ) {
print $ar['name'] ." " . $ar['year'];
print "<br>\n";
}
}