PHP Classes

Shopping basket with MySQL connection: Shopping basket stored in a MySQL database

Recommend this page to a friend!
  Info   View files View files (18)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 4,807 This week: 1All time: 570 This week: 560Up
Version License Categories
basket_with_mysql 1.0.0FreewareDatabases, E-Commerce
Description 

Author

This package implements a shopping basket for e-commerce sites that stores the products picked by the user in a MySQL database.

The class can keep track of the session associated with the current user shopping basket, add and remove individual products, empty the basket, change the quantity of each product, calculate the cost of all products in the basket, and dump a report of all products in the basket in HTML.

Picture of kostas gougakis
Name: kostas gougakis <contact>
Classes: 2 packages by
Country: Greece Greece
Age: 42
All time rank: 3264 in Greece Greece
Week rank: 416 Down4 in Greece Greece Equal

  Files folder image Files  
File Role Description
Accessible without login Plain text file add_session Aux. add session for user
Plain text file basket Class basket
Accessible without login Plain text file cookie Aux. cookie
HTML file credit_validation.php Class credit card validation add on
Accessible without login Plain text file data_int Aux. intialize users profile
Accessible without login Plain text file db_connect Aux. db_connect for product list
Accessible without login Plain text file delete Example delete item from basket
Accessible without login Plain text file del_session Aux. del_session finalize basket hold
Accessible without login Plain text file empty Example empty basket
Accessible without login Plain text file insert Example insert product
Accessible without login Plain text file modify Example modify product qty in basket
Plain text file mysql_command Class queries
Plain text file mysql_conn Class basket mysql connection
Plain text file mysql_recordset Class mysql_recordset count rows
Accessible without login Plain text file read_credit_validation_class.txt Doc. documentation about credit_validation class
Accessible without login Plain text file show Example show products and basket
Accessible without login Plain text file showproduct Example showproduct
Accessible without login Plain text file sql_database Data sql database

 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,807
This week:1
All time:570
This week:560Up
 User Ratings  
 
 All time
Utility:70%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:63%StarStarStarStar
Examples:60%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2020