
November 24th, 2003, 07:46 AM
|
|
Junior Member
|
|
Join Date: Nov 2003
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Buildinng "Building a Persistent Shopping Cart with PHP and MySQL "Tutorial
Hi,
A php green horn here. Wonder how if anyone know how to write the checkout script for the dreamweaver mx tutorial for developing a shopping cart with use of cookies. I need to write the checkout script. Need some head start.
Off hand,
The algorithm should be something as follows:
1. Check if cookie_ID is valid and whether user is logon or not
2. User not logon, redirect user to logon
3. Else, If valid, check cart content based on cookie_ID
4. Write Data into Order Table (Customer Name
some please help. Relatively new to this PHP thing. Thanks.
|