Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
.asp content question
Old 04-26-2005, 10:59 AM .asp content question
Junior Talker

Posts: 1
Trades: 0
I'm new to .asp and I see lots of sites that when clicked on a link... the url goes from www.domainname.com to www.domainname.com/index.asp?SID=58. Click on another page it will say www.domainname.com/index.asp?SID=77. Basically what is the whole 'index.asp?=#' way of linking? Where can I read about it and why are so many websites using this? Is it pulling text from a mysql table? Is this some sort of online, live template?

Just thought I would hurry up and catch up with the times.

Thanks.
dangermon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-26-2005, 01:24 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
just pulling data fron a database and the querystring tells the script which item to pull from the DB. There will be some code that captures the ID No and does the processing

ie
Code:
<%
Prod_id = cint(request.querystring("SID"))
strSQL = "SELECT fields FROM table WHERE id = " & Prod_id & ";"
' rest of code  
%>
some ASP db samples at ASP101
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to .asp content question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.35070 seconds with 12 queries