I am a php programmer and I dont know much about ASP, but I would like to know one of my sites URL's hen clicked display this type of URL: location.asp?Location_ID=8 but instead I need it to display something like this location.asp?Location_ID=Thailand. Would that involve playing around with the htaccess file? I forgot ASP dont use htaccess files am i correct?
no because you are passing it via querystring. You would just do a search on Thailand vs. an integer as the ID.
Ah I see....... so any other suggestions? I mean I couldnt change the ID table in the database to different table name like ID=1 to Title=Thailand etc. could I?
yes, so you are using a search key instead of an integer as your conditional. instead of Select * from Table Where Table.IDField = 1 you would o Select * from Table Where Table.LocationName = 'Thailand'
You can use either one : Select * from Table Where Table.IDField = 1 or Select * from Table Where Table.LocationName = 'Thailand' But when you complete your URL for location.asp?Location_ID=Thailand replace location.asp?Location_ID=<%=ID%> with location.asp?Location_ID=<%=Title%> (Title or whatever you have called the column)