Free as Freedom, not Free as Free Pizza!” />


Udruženje Informatičara BiH - Cross-platform and Portable Development With PHP, LAMP/WAMP development, AJAX and Javascript, ASP, dot NET, C sharp, C++, C, VB, Oracle, tutorials and tips...
Free as Freedom, not Free as Free Pizza!


Add to Google

Thursday, June 29, 2006

Class: Shopping Cart

Published Class: Shopping Cart in

This class can be used to manipulate the items of a shopping cart using AJAX to avoid making the user leave the current page.

The class can generate HTML and Javascript to show the list of items in the shopping cart.

The list has form submit buttons to trigger the execution of AJAX requests that can add or remove items from the shopping cart.

The list of shopping cart items is stored in a session variable.

The actions of adding and removing items are also tracked by storing the action details in a MySQL database table.

Class: Full Payment and Registration

Published Class: Full Payment and Registration in

This class can be used to implement a paid subscription user registration system.

It implements the system in several registration step pages: registration form, registration review page, registration validation and submission.

The class can validate the credit card supplied by the user to pay the subscription but it does not actually process the payment.

The information of the user subscriptions is stored in a MySQL database.

Class: Easy Connect to MySQL

Pblished Easy Connect to MySQL Class in

This is a very simple class that can be used to connect to a MySQL database and execute a SQL SELECT query.

It consists of a single function that does everything at once: connects to a given MySQL database, executes a given SELECT query and returns the query results in a bi-dimensional array.