Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python, Lua and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Java, C, C++, Ruby, MySQL and Linux / Tomcat systems
 

Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
PHP module H116
Shopping Cart Application in PHP
Exercises, examples and other material relating to training module H116. This topic is presented on public courses Learning to program in PHP, PHP Programming, PHP Programming, Learning to program in PHP

Many PHP applications are based around a shopping cart a user selecting a series of products from around a site, which are then presented as a total order, cost is added up, then is checked out. This module is an example of such a script, and covers issues such as handling user entry errors, selection of products by category where you have too many products to fit on one page, cleaning up aborted order files, and accepting credit card payments on line.

Related technical and longer articles
Shopping cart application in PHP

Articles and tips on this subjectupdated
3820PHP sessions - a best practice teaching example
Whether you're selling airline tickets, updating financial records, or running a forum, you'll need software on your web server that maintains state. In other words, software which remembers who you are from page to page, remembers what you've been doing, and doesn't insist on you logging in each time. If ...
2012-08-11
 
1634Kiss and Book
The headline on our story reads "We've got a New Online Booking System for our Open Source courses" ... but there's a story behind that headline. We pride ourselves in our flexibility - the ability to treat each customer as an individual and offer him a solution to meet his or her needs. And that means ...
2008-05-08
 
1623PHP Techniques - a workshop
So many people know the basis of PHP - the language constructs themselves and how they work individually - but could really benefit from learning how to make the best of those elements. And these techniques for putting the elements together are so important that they should not be crammed onto the end ...
2008-04-27
 
1487Efficient PHP applications - framework and example
There are many elements to your on line application - there's the "look" (1), the "feel" (2), the algorithms behind it (3), and the way the whole thing is bolted together (4). 1. The look may be shared across all the pages of your web site. 2. The feel you choose to use may be shared across all your ...
2007-12-30
 
1321Resetting session based tests in PHP
I was writing and testing a PHP session based application - one in which a series of pages are linked together to make up a complete system - yesterday. And as ever with testing, bugs were found in the code and other things had to be added that meant it needed to be changed. But it's rather different ...
2007-08-28
 
Examples from our training material
carter.php4   Session demonstration - full shopping cart
getaddy.htp   Template web page for carter.php4
getccard.htp   Template web page for carter.php4
getshop.inc   Functions for carter.php4 and other shopping cart apps
offer.htp   Template web page for carter.php4
s2.php   Free form shopping cart in a page
thankyou.htp   Template web page for carter.php4
Pictures
Learn how PHP works in YOUR application
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from [here].
Topics covered in this module
Putting in all together in a practical example.
Data file database of products. User Tracking.
Keeping HTML templates apart from the code.
Developing the page look using a tool such as Dreamweaver.
Secure Server. Verification of user details.
Accepting on line credit card details or online payment.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Ruby, Lua, Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2018: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01225 708225 • FAX: 01225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/H116.html • PAGE BUILT: Mon Feb 8 18:55:24 2016 • BUILD SYSTEM: WomanWithCat