• DHTML Tree Menu
    Create Superb DHTML Tree Menu and Buttons For Your Site! Free Download!
    deluxe-tree.com

Categories

Updated: 03/07/2008

PHP Basket Class with OOP

One shopping solution of many is a session solution with classes (OOP). Standard features: Cookie control, presentation of products, basket handling (add, remove, increase, reduce quantity, zero result handling, subtotal and total), session check plus detection of string manipulations. The handling of the orders is done by the basket class. That for we need two sessions: one for the basket with the orders and one for the quantities of orders (which are identified through arrays and the product id). In the next step we control, if the user takes the same order more then once. Whith a control variable (+/-) and a foreach loop we increase or reduce the quantity. The shopping basket is a combination between a while-list-each- and a database-query. If quantity result is zero, order will be removed from basket. Security feature: Intrudors will be recognized by a explode script that determines string manipulations (in this example a table name, but also very usefull for other strings).
Similar Scripts for "PHP Basket Class with OOP"

ASPSort

The ASPSort ASP component provides a simple way to quick sort ASP arrays. The routines are written in C++ and are quick. The module can sort up to 12 single dimension ASP arrays deep, or a single multi-dimensioned array of any legal size.

Arrays, HTML, and PHP

This 4-page tutorial guides you through step-by-step how to pass arrays and using checkboxes/select boxes in PHP.

Getting and Using Meta Tags for Search Criteria

PHP has a built-in function to easily fetch meta tags from php or html pages called the get_meta_tags function. It will take all the meta tags and build associative arrays with the name of the associative array being the meta name and value of the a...

PCCS NRM

PCCS NRM is a Network Resource Manager designed to managed PCs, Network Printers, and Software. Features include: PhpLib Security System, Advance Search Query Tool, Graphic Creation on the fly, Multi-Select Arrays during Data Entry, Check before Entr...

HTML_Graphs

HTML_Graphs uses PHP to provide a nice class interface for html graphs. It provides a single, reasonably consistent interface for creating HTML based charts. The idea behind this code is that the user of the class sets up four or five arrays and pass...
©2003-2008 jCay.com