Want to create a Shopping Cart? This article will help you to create a simple shopping cart in Codeigniter using ajax and jquery. Lets start. ciauto is the database name and product is the table that I use. Structure of the table is given below. First of all we should connect the database with the project.Go to your config/database.php in the application folder and continue the database connection. $db [ 'default' ] = array ( 'dsn' => '' , 'hostname' => 'localhost' , 'username' => 'root' , 'password' => '' , 'database' => 'ciauto' , 'dbdriver' => 'mysqli' , 'dbprefix' => '' , 'pconnect' => FALSE , 'db_debug' => ( ENVIRONMENT !== 'production' ), 'cache_on' => FALSE , 'cachedir' => '' , 'char_set' => 'utf8' , 'db...
Comments
Post a Comment