View Full Version : addint items to a basket
01-12-2005, 06:29 PM
please i need help. I am doing a wed site online shopping system for my
school project, which requires some asp coding using vb script. I am new to
asp and have no knowledge whatsoever on how to code what i need.
Please please please could someone please provide me with help, or
coding on how to add item details into a basket record, once the user clicks
the add to basket link.
01-12-2005, 06:30 PM
01-13-2005, 09:42 AM
shhhh dont tell ne1 its for a school project, u get lectured that you shouldnt be asking people to do your homework for you:rolleyes:
go to www.w3schools.com and go through the learn asp section, taking note of sessions and databases, really you want to get the link to add a unique id (autonumber) of an item to a session, separated by a comma or whatever, like if they add item 4 and 8 then the session could store
this could then be split() at "," s to get all the items at the checkout
checkboxes could also be used as the values selected are sent to the form as a comma separated string anyway :thumbsup:
01-17-2005, 02:21 PM
I generally think of a shopping cart as a fancy name for a session array. And here is a good resource that includes how to use session arrays:
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.