본문 바로가기

php crud3

ajax jquery php 사용해서 Add Edit Delete 하기 (LIVE TABLE 구현) - 동적테이블 ajax jquery php 사용해서 Add Edit Delete 하기 (LIVE TABLE 구현) - 동적테이블 #화면 #index.php Live Table Live Table Add Edit Delete using Ajax Jquery in PHP Mysql $(document).ready(function(){ //데이터를 ajax에서 가져와서 뿌려준다. function fetch_data(){ $.ajax({ url:"select.php", method:"POST", success:function(data){ $('#live_data').html(data); } }) } //리스트 조회 함수 호출 fetch_data(); //추가버튼 클릭했을 때 $(document).on('click','#btn.. 2017. 9. 18.
php ajax json을 이용해서 crud(삭제) 예제4 php ajax json을 이용해서 crud(삭제) 예제4 파일경로 화면 index.php [맨 마지막 단 삭제 버튼 클릭 했을 때 추가 됐음]DOCTYPE html> crud body{ margin:0; padding:0; background-color:#f1f1f1; } .box{ width:750px; padding:20px; background-color:#fff; border:1px solid #ccc; border-radius:5px; margin-top:100px; } php Ajax Crud 성을 입력하세요 이름을 입력하세요 추가 $(document).ready(function(){ fetchUser(); function fetchUser() { var action = "select"; /.. 2017. 9. 13.
php ajax json mysql을 이용해서 crud(추가) 예제2 php ajax json mysql을 이용해서 crud(추가) 예제2 #결과화면#index.phpDOCTYPE html> crud body{ margin:0; padding:0; background-color:#f1f1f1; } .box{ width:750px; padding:20px; background-color:#fff; border:1px solid #ccc; border-radius:5px; margin-top:100px; } php Ajax Crud 성을 입력하세요 이름을 입력하세요 추가 $(document).ready(function(){ fetchUser(); function fetchUser() { var action = "select"; //[1] users 리스트를 select.php.. 2017. 9. 12.