PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2004-09-19 (12 years ago) RSS 2.0 feedStarStarStar 55%Total: 4,788 All time: 544 This week: 1,016Down
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

  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,788
This week:0
All time:544
This week:1,016Down
 User Ratings  
 
 All time
Utility:71%StarStarStarStar
Consistency:71%StarStarStarStar
Documentation:64%StarStarStarStar
Examples:61%StarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1581