Groups With SQL

Is there a way with SQL to query certain groups from the same table?That would help me later to display the results in few columns(HTML table).

Example:

1st column- product ID (unique)
2nd column - product name
3rd column - group (here we have values that repeat themselves like:cans, meat, beverages, etc.)

All I want is to query by groups with SQL so the recordset would consist of: cans, meat and beverages (columns). Than I would list the products in every separate column. I don't know if this could be done? I know how to query one group of them only, but I need that for every group I have.

example;
sql = "SELECT * FROM table WHERE group='cans', "

View Replies


ADVERTISEMENT

Authentication Using NT Groups:

I am trying to authenticate users by what NT groups they are in, is there any easy ways ofdoing this in ASP classic not .NET .

View Replies View Related

Random Images Divide Into Three Groups?

I have a bit of a problem.

Basically I have a homepage, when the page loads up it will display images.

However, the images are dived into three groups, as seen below.

Group1 - Image1, Image2, Image3

Group2 - Image4, Image5, Image6

Group3 - Image7, Image8, Image9

What I want is that every time when someone enters the front page, it should pick a group and display that particular set of images on the homepage.

View Replies View Related

ADSI And Local Windows Users And Groups!

I am looking at the ability for a user on my website to add/remove/edit windows user accounts, thus controlling access to my website. I have integrated windows authentication checked on the website and unchecked anon access in IIS, so I am always asked for a username and password.

I have seen some ADSI scripts that I can use in my ASP pages to manipulate local user accounts. However, when I try and use these they dont work as I need to have admin rights. Of course I don't wish to add the user to the admin group for security reasons....
Anyone have a code snippet to do this?

View Replies View Related

Req/l Forum Script That Allows Me To Set User Groups To View Certain Categories?

im looking for an asp (not .net) script based on a user forum
where as the admin i can set up different users to only see related
forum topics (i want to use it for project management) uploading files
to the forum would also be a massive advantage!!!

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved