hey, okay im tryin to have a go at making a simple shoping cart.
i have already set up my DB table for products and i have got my page to show them with pagination.
Now im at the stage of creating my add to basket script bit so i can then get the info for ordering and displaying basket contents.
Now im thinking to use cookies, and was going to have
setcookie(product_id, 1, mktime() + 3 days)
but twigged that it will over write the older one
so what would be the best way to do this?
Thanks,
__________________
Discounted Web Hosting With XDnet! >> Get 25% of hosting~ Promo: Webmaster-talk <<
|