Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question addint items to a basket

    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.

  • #2
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    adding items to a basket

    help, please

  • #3
    Senior Coder
    Join Date
    Apr 2003
    Location
    England
    Posts
    1,192
    Thanks
    5
    Thanked 13 Times in 13 Posts
    shhhh dont tell ne1 its for a school project, u get lectured that you shouldnt be asking people to do your homework for you

    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
    "4,8"

    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

  • #4
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    478
    Thanks
    0
    Thanked 2 Times in 2 Posts
    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:

    Session Object
    http://msdn.microsoft.com/library/de..._vbom_seso.asp
    J. Paul Schmidt
    www.Bullschmidt.com - Freelance Web and Database Developer
    www.Bullschmidt.com/DevTip.asp - Classic ASP Design Tips


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •