1. 表單提交
<input type="hidden" name="project_name" value="$project_name"/>
在控制器中獲取
$project_name=input("post.project_name");
2. php中跳轉
$this->success('新增項目成功',url("Version/index",array('project_name'=>$project_name)));die;
1. 表單提交
<input type="hidden" name="project_name" value="$project_name"/>
在控制器中獲取
$project_name=input("post.project_name");
2. php中跳轉
$this->success('新增項目成功',url("Version/index",array('project_name'=>$project_name)));die;
1.Select 查詢語句 佔位方式一 //sql 查詢語句 佔位方式一 $sql = "select * from tp_articles where id =?"; $result =