Friday, March 4, 2016

Building a Shopping Cart by using PHP and MySQL



  Introduction:

  In this project, I will guide you how to build a shopping cart by using PHP and MySQL. The simulation as below:



 Requirements:

 - In order to understand this project, it requires you to have a basic knowledge about HTML, CSS, PHP and SQL language. 


Overview:

- The snapshot lists out  items in the shop:

 - Order Now: to purchase the product:

   
+ Continue Shopping: return the items list
+ Add/Drop-textbox: to add more or drop down the quantity of the item.
+ Save icon: update the # and $ of the selected items.
+ Checkout: to commit purchasing and the bill sent to MySQL server.

- MySQL server after receiving a purchase:
 + Order:

  + Orderdetails:
+ Product: This is a database containing items displayed in the shop.


Conclusion:

In this project, I helped you how to build a shopping cart using PHP and MySQL. I also included video to simulate how the project works as well as the source code.


2 comments:

  1. Nice app :) Congratulations!

    ReplyDelete
  2. I've send a post to your github account, or either way here also can.

    There's an error in your index.php:

    Warning: mysqli_fetch_object() expects parameter 1 to be mysqli_result , given from the source code taken from your github

    ReplyDelete