b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » Message 1970595 (Thread)

# that is very odd..
sorry about this but,

tj: anybody know how to, in ASP, load from a database, and have a query (ie index.asp?dir=1&id=1 ).
so, it picks up the dir and id from the database and then shows the name (i really don't know how to explain it)
(, Sun 14 Sep 2003, 16:45, archived)
# Yes
Someone, somewhere, does know whatever it is you want to know
(, Sun 14 Sep 2003, 16:46, archived)
# yes, and i was hoping that person would be here...
(, Sun 14 Sep 2003, 16:48, archived)
# sounds
like you want to be using something like

Server.mapPath

I can`t really rememeber as I haven`t ASP-d in a long while - are you doing some kind of gallery or sommat?
(, Sun 14 Sep 2003, 16:48, archived)
# well, i can load the db
it's for my site...

say, if i have index.asp?dir=1&id=1 i want the page to say something
and if i have index.asp?dir=1&id=2 i want it to say something else.

and the feilds in my db are dir, id and name...
(, Sun 14 Sep 2003, 16:50, archived)
# ok
so you look sommat up in your database, and get back a directory and an id - you just want to print out the name field?

is this like a template-based page where the text for certain bits comes from the database?
(, Sun 14 Sep 2003, 16:52, archived)