|
-
Reef Shark
Working with ASP and SQL
Hello All: I haven't been on in a LOOOONG time. Anywho, I've been trying to figure out ASP and SQL and have run into this problem. I am trying to write a page that retrieves data from one specific recordset and fills out the page according to that recordset, whichever the user chooses it to be. My method includes a SQL request something like this: ("SELECT * FROM table WHERE variable = x") , where x is the user specified variable. Unfortunately, I can only get it to work if x is instead a string, such as 'x', instead. Can anyone help me here? By the way, variable is the unique key for the table. HELP!
------------------
~ And that is my humble opinion.
When I was a boy I was told that anybody could become President. Now I'm beginning to believe it. - Clarence Darrow
The greatness of a woman’s power is measured in the size and amount of the balls she clutches in hand. -Me
"Tink"
1 GHz Tbird on A7V, 128MB PC133 RAM, Samsung 19" 900IFT, Radeon 64MB DDR VIVO, SB Live! MP3+, 42.9GB IBM HDD, Plexwriter 8/4/32, 3C905CTXM nic, Intellimouse Explorer
~ And that is my humble opinion.
When I was a boy I was told that anybody could become President. Now I'm beginning to believe it. - Clarence Darrow
The greatness of a woman’s power is measured in the size and amount of the balls she clutches in hand. -Nephalim
"Tink"
1700+ XP on A7N8X, 768MB PC2700 DDRRAM, Samsung 19" 900IFT, Radeon 64MB DDR VIVO, SB Live! MP3+, 42.9GB IBM HDD, Plexwriter 8/4/32, 3C905CTXM NIC
"Hermes"
Dell Inspiron 8200, 1.7 GHz P4, 512MB DDRRAM, 30GB HDD, DVDROM, Geforce4 Go 64MB
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|