. Integrating Database.
Database integration in code igniter we just need to install the codeigniter and manually create the database table for project according to requirement. Code igniter allow us to extend predefine library for reducing the extra coding .This database table define previously are manually created according to project requirement.
2. Database connectivity.
- Connecting PHP shopping Cart to MySQL Database.
Database connectivity in codeigniter is done by setting a parameter in the database.php for connecting a particular database to required project. To connect manually to a desired database you can pass an array of values:
In the database.php:
$config['hostname'] ...view middle of the document...
php has base url of the project. This file concatenate relation between server side processing and client side processing. Database.php is the file which contains database connectivity of this project and handles relationship between client side and the server side.PHP.ini file providing us functionality to call functions and we can extend the project in better way. This file contains extensions and all function that is on severs side. As this project running on “Local host”, we are using Apache server to run project weather it is front end or back end means admin panel.
b.) Database interaction:
Server facet process permits you to act with databases via webpage forms, adding, removing or ever-changing data. As a result you'll be able to store data submitted on a type on to information.
c) Robust validation
Although it's attainable to try and do some user validation by making use of JavaScript, this may be avoided if the visitor has JavaScript disabled. With server side validation, there's no means for a user to submit knowledge that's not valid. Having bonded validation like this can be necessary to stop your web site of being hacked.
B) Client Side Processing:
Client-side emphasis to actions that are conducted by the client in a client–server relationship in a computing network.
Basically, a client is a computer application that works on the user's local system/workstation and connects to a server as per necessity; such as a web browser. When any server provides data in such a manner which is used commonly, for instance according to the HTTP or FTP protocols, visitors may have their choice of a number of application programs.
Applications that function on a user's local system without sending or receiving data over a network even once are not considered clients,...