An open API service indexing awesome lists of open source software.

https://github.com/delight-hk3/modal_db_connect

It was created to put the contents of the database in the model window with CodeIgnter3.
https://github.com/delight-hk3/modal_db_connect

ajax apache-server bootstrap4 codeigniter3 css3 javascript mariadb php7 phpmyadmin sql-query

Last synced: about 2 months ago
JSON representation

It was created to put the contents of the database in the model window with CodeIgnter3.

Awesome Lists containing this project

README

          

# Modal DB Connect

>사용한 프레임워크 : codeigniter 3, bootstrap 4

>사용한 언어 : php7, css3, javascript, SQL

>사용한 DB : MariaDB

>사용한 DBMS : MySQL

>사용한 서버 : Apache Linux server

>사용한 Tool : Visual Studio Code

>테스트한 OS : Apache Linux


### 주의사항


  • codeIgniter3 에서 Index 죽이기 작업을 하고 진행했습니다. 위의 코드를 실행시키려면 먼저 Index 죽이기 작업을 하셔야 합니다.

  • index.php remove 방법 블로그 글

  • my 폴더는 아래의 이미지처럼 위치 해야 합니다.






제작한 이유 : DB에 있는 값 하나를 페이지에 띄우거나 여러 개의 값을 띄우는 것은 가능하나 modal 창에 각자 다른 값을 나타내려고 하면 하나의 값은 일반적으로 출력하면 되고 여러 개의 값이지만 한정적이면 modal을 하나하나 만들어서 각자 다른 값을 넣으면 됩니다, 하지만 여러 개의 값이고 나중에 추가할 가능성이 있으면 자연스럽게 foreach문을 사용하여 계속 출력시켜야 합니다, 이럴 경우 modal창으로 띄우면 가장 먼저 가져온 값만 modal창에 나오는 문제가 있었습니다, 이 를 해결하고자 제작하였습니다.


Modal DB Connect 설명 포스트