A shopping CART - Product Choice Page (php-sessions)  

Suite Presentation What's this ?
Here the processing-action is toward another page and the products are put in a session-file that is fisically visible ( anyway only in localhost the Web Server would not allow you to look into this directory but you can pick up the content of your WebServer-session using a function )
Resume syntax and php-escaping functions usage   Another Basic Example   Workshop
Sessions data into MySQL   Download the basic code of CART   Home
( x more products ...hold Ctrl or Shift)
If you click-empty ( no selection ) ...all remain the same !
Check the link decode.php ( after you click the button ) to read what you have written in the session-file...

An other page   decode.php   ... send.php

A session - file can be modified till the browser - session is alive, actually also later, but we do not know when the Server deletes its sessions by considering them as garbage, this can also be straight away after the browser session is terminated, so we will consider that a session is regularly deleted on the server when the browser session is terminated.
From php version > 4.0 sessions are recognized globally in the whole website.
Nb : By simply clicking on the link : "An other page" you add into this session CART the choice to include an hypothetical Cd rom to this order ...anyhow that is an ADDING bound to buy at least ONE product out of the Multiple-Select Form, such as intended to be as a freebie by ordering
You will also find a form to reset any data into the session file at the page decode.php
...finally you may send the order by email.