我在 angularjs ( http://softaox.info/category/angularjs/ )上找到了兩條說明。但是,我想將它組合在一起 - 即直接從網站顯示、過濾和另外編輯數據庫。但是,我在一頁上連接兩個控制器時遇到問題。數據庫讀取,但是當我想編輯,刪除它時,沒有任何反應。你會幫我解決問題嗎?這是我的代碼`index.php<!doctype html><html><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>SoftAOX | AngularJS Sorting, Searching and Pagination of Data Table using PHP, MySQL</title> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"></head><body> <div ng-app="myApp" ng-controller="controller"> <div class="container"> <br/> <h3 align="center">AngularJS Sorting, Searching and Pagination of Data Table using PHP, MySQL</a></h3> <br/> <div class="row"> <div class="col-sm-2 pull-left"> <label>PageSize:</label> <select ng-model="data_limit" class="form-control"> <option>10</option> <option>20</option> <option>50</option> <option>100</option> </select> </div> <div class="col-sm-6 pull-right"> <label>Search:</label> <input type="text" ng-model="search" ng-change="filter()" placeholder="Search" class="form-control" /> </div> </div>
- 2 回答
- 0 關注
- 191 瀏覽
添加回答
舉報
0/150
提交
取消