Add/Edit/Delete Using CodeIgniter

Language
In my previous example about Shopping Cart with Checkout Using CodeIgniter, I have a products table but without a product management. In this code sample, you’ll learn how to manage a product with add/edit/delete function using CodeIgniter. BTW, I have change the primary key of the products table from “serial” to “id”. This code is totally a separate project. But you can also learn from our previous example on how to build a complete application with shopping cart with product management. Visit our CodeIgniter tutorial and learn how to configure it.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

hi sir, can you help me for the making of our system. i'm willing to pay, can i get your email so we can talk more of this :) thank you so much.

In reply to by Anonymous (not verified)

Just send your query at http://www.sourcecodester.com/contact

PLEASE ADD DATABASE FOR WORKING PROPERLY

really great work sir and thanks for the code

first please create a database with name "Products" and then create a table name "Products" in that database. add fields "id,name,description,price,picture" in products table. after adding this database,table ,fields this application will work perfectly, Regards Mani.

i already make database and table, and also fields, after that it only shows like this "Products (Manage)", when i click "Manage" since that's the only things that is clickable, it returns on the the localhost, where wamp server is..why is that so..pls help me..thanks

This is a nice and help full tutorial. could u tell me how to add picture in this project using upload command

i already make database and table, and also fields, after that it only shows like this "Products (Manage)", when i click "Manage" since that's the only things that is clickable, it returns on the the localhost, where wamp server is..why is that so..pls help me..thanks

I'm new in codeigniter please help me i cant understand how add_product and edit product view are called Please give reply i;m waiting for your reply

hi i got following error A Database Error Occurred Unable to connect to your database server using the provided settings. Filename: core/Loader.php Line Number: 346 wat can i do ? can u help me

Hi, I am new to CodeIgniter ( in fact PHP ), I want to build a Master-Detail application ( like Department as Master and Employees as Detail ), I failed to find some examples/samples for it. Can you please inform me about is it possible using Codeigniter? if yes, is there any guide lines or sample/example to learn and achieve it? so please inform and give a link. thanks with regards.

In "manage_products" it states: "return confirm('Are you sure you want to delete?')")); ?> *****where is the product/delete in the zip folder? i cant seem to find it.*****

how to run it??

Add new comment