Read and Display data with Twitter Bootstrap 1

CodeIgniter is the simplest and light PHP framework which lets you create robust web applications in no time. Using Twitter Bootstrap with CodeIgniter saves the hassle of writing CSS Stylesheets for your app and lets you focus on development. Later you can customize bootstrap styles to suit your need. That is the best part of using MVC pattern as the presentation (view) is separate, you can change the look and feel of the app anytime without disturbing the rest of it. kodingmadesimple.com have good Twitter Bootstrap Tutorials about customizing Bootstrap3 and I strongly recommend you to go through these tutorials. Create & Customize Bootstrap3 Responsive Navbar Add Search Form to Bootstrap3 Navbar Customize Bootstrap3 Breadcrumbs Now we'll see how to read data from MySQL Database and display it in a neat table format with Bootstrap. Since we are going to use bootstrap we don't want to write any custom stylesheets for formatting the display. If you are not familiar with using Bootstrap with CodeIgniter, then you must read this tutorial on How to integrate Bootstrap with CodeIgniter. In this CodeIgniter tutorial, I'm going to read data from the MySQL database and display it in a neat table format using Bootstrap3. For example assume we have a DB called employee which has the below two tables. tbl_dept (int_id | var_dept_name | int_hod) tbl_emp (int_id | var_emp_name | int_dept_id) Now I want to display the entire department list along with the head-of-department employee name. 1. First create the model with name department_model.php in the folder system/application/models. Then add a function to read the department list from the CodeIgniter is the simplest and light PHP framework which lets you create robust web applications in no time. Using Twitter Bootstrap with CodeIgniter saves the hassle of writing CSS Stylesheets for your app and lets you focus on development. Later you can customize bootstrap styles to suit your need. That is the best part of using MVC pattern as the presentation (view) is separate, you can change the look and feel of the app anytime without disturbing the rest of it. kodingmadesimple.com have good Twitter Bootstrap Tutorials about customizing Bootstrap3 and I strongly recommend you to go through these tutorials. Create & Customize Bootstrap3 Responsive Navbar Add Search Form to Bootstrap3 Navbar Customize Bootstrap3 Breadcrumbs Now we'll see how to read data from MySQL Database and display it in a neat table format with Bootstrap. Since we are going to use bootstrap we don't want to write any custom stylesheets for formatting the display. If you are not familiar with using Bootstrap with CodeIgniter, then you must read this tutorial on How to integrate Bootstrap with CodeIgniter. In this CodeIgniter tutorial, I'm going to read data from the MySQL database and display it in a neat table format using Bootstrap3. For example assume we have a DB called employee which has the below two tables. tbl_dept (int_id | var_dept_name | int_hod) tbl_emp (int_id | var_emp_name | int_dept_id) Now I want to display the entire department list along with the head-of-department employee name. 1. First create the model with name department_model.php in the folder system/application/models. Then add a function to read the department list from the CodeIgniter is the simplest and light PHP framework which lets you create robust web applications in no time. Using Twitter Bootstrap with CodeIgniter saves the hassle of writing CSS Stylesheets for your app and lets you focus on development. Later you can customize bootstrap styles to suit your need. That is the best part of using MVC pattern as the presentation (view) is separate, you can change the look and feel of the app anytime without disturbing the rest of it. kodingmadesimple.com have good Twitter Bootstrap Tutorials about customizing Bootstrap3 and I strongly recommend you to go through these tutorials. Create & Customize Bootstrap3 Responsive Navbar Add Search Form to Bootstrap3 Navbar Customize Bootstrap3 Breadcrumbs Now we'll see how to read data from MySQL Database and display it in a neat table format with Bootstrap. Since we are going to use bootstrap we don't want to write any custom stylesheets for formatting the display. If you are not familiar with using Bootstrap with CodeIgniter, then you must read this tutorial on How to integrate Bootstrap with CodeIgniter. In this CodeIgniter tutorial, I'm going to read data from the MySQL database and display it in a neat table format using Bootstrap3. For example assume we have a DB called employee which has the below two tables. tbl_dept (int_id | var_dept_name | int_hod) tbl_emp (int_id | var_emp_name | int_dept_id) Now I want to display the entire department list along with the head-of-department employee name. 1. First create the model with name department_model.php in the folder system/application/models. Then add a function to read the department list from the

Comments

Popular posts from this blog

Read and Display data with Twitter Bootstrap