ASP Help!

This is a discussion on "ASP Help!" within the Classic ASP section. This forum, and the thread "ASP Help! are both part of the Program Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1  
Old Apr 7th, 2005, 23:48
Reputable Member
Join Date: Sep 2004
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
ASP Help!

I am in some need of assistance with starting my website. I know very little ASP but after reading many posts in this forum I am learning a lot. This is what I need help with though.

Each user I have gets to have thier own storefront. I know how to add the items, and stuff but I don't know how to manage these. Do I throw them all into one table and just use ASP to filter by username? Or is there someway that ASP can group these names together in that table?

Example:

Bob | Coffee | $5
Bob | Books | $7
Jim | Coffee | $4
Bob | Toys | $2

I know by trying to retrieve Bob's information I would have to run a check to make sure that every item that is displayed is Bob's Item. So is there a way in ASP to insert Bob Toys above Jims so that I can use that after it finds Bob's last entry it will end? Or is there another way that is easier? Any help is much appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Apr 8th, 2005, 00:52
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
ASP can do pretty much whatever you want with your table, but you'll probably end up doing it through SQL queries.

A tutorial on SQL, SELECT, WHERE, ORDER BY, GROUP BY etc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Apr 8th, 2005, 02:36
Reputable Member
Join Date: Sep 2004
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
interesting... I never knew you could use anything else to do this. Pretty neat.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Apr 8th, 2005, 05:10
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Well, I would call it an "else" so much as you use SQL within ASP, so it's a combination of the two. Though you'd also use SQL with PHP, or JSP, or whatever when working with a database in general.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Apr 8th, 2005, 14:40
Reputable Member
Join Date: Sep 2004
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, well what I meant is that I never knew SQL could do anything other than open a database and locate a table... It can do all kinds of other things. I'm working on this tutorial and if I need some help I'll be posting back. Thanks again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
asp, help

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 15:19.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42