filmov
tv
Fetch data from database Codeigniter - Source Code

Показать описание
View all data from database Codeigniter Source Code:
Steps:
*** PHPmyadmin Section ***
1. choose Database
2. copy the "Table & Column" Names
DB- customer
table- user
col- id name email created_at
****Create Codeigniter Project*****
1. Download and extract the CI Project from website
2. Rename the downloaded file
3. Run the file in XAMMP
***Modify Config Folder**
****Codeiginter Fundamentals***
***Create Model in CI***
1. Create Model to fetch data from db
2. Create function to fetch data from database
3. Load model in controller
4. Save retrived all array values in array
5. Pass the array to index page
Steps:
*** PHPmyadmin Section ***
1. choose Database
2. copy the "Table & Column" Names
DB- customer
table- user
col- id name email created_at
****Create Codeigniter Project*****
1. Download and extract the CI Project from website
2. Rename the downloaded file
3. Run the file in XAMMP
***Modify Config Folder**
****Codeiginter Fundamentals***
***Create Model in CI***
1. Create Model to fetch data from db
2. Create function to fetch data from database
3. Load model in controller
4. Save retrived all array values in array
5. Pass the array to index page