Newbie Needs Help with Parameters

Results 1 to 2 of 2

Thread: Newbie Needs Help with Parameters

  1. #1
    Join Date
    Dec 1969
    Posts
    717

    Default Newbie Needs Help with Parameters

    I&#039m trying to pass a parameter from a hyperlink to my ASP.<BR><BR>http://mylocalserver/helpmeobione.asp<BR><BR>&#060;html&#062;<BR><BR>Us e the force, Luke...<BR><BR><BR>&#060;a href = "helpmeobione.asp?force=&quot;Dark&quot;"&#062;Dar k Side&#060;/a&#062;<BR><BR><BR><BR><BR>&#060;a href = "helpmeobione.asp?force=&quot;Light&quot;"&#062;Li ght Side&#060;/a&#062;<BR><BR><BR><BR><BR>Which do you choose?<BR><BR><BR>&#060;% Response.Write = force %&#062; Side<BR><BR>&#060;html&#062;<BR><BR>When I click on the hyperlinks, it does not print the value of the force variable. If I add the following code after "Which do you choose?<BR>"...<BR><BR>&#060;% force = "Neither" %&#062;<BR><BR>...it does print "Neither". I have FrontPage 2000 and I cannot find any help on passing parameters to ASP files. Can someone please help me?

  2. #2
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: Newbie Needs Help with Parameters

    Response.Write Request("Force")<BR><BR>To learn all about passing variables using ASP, check out:<BR><BR>Four ways to Pass Data from One ASP Page to Another<BR>http://www.4guysfromrolla.com/webtech/041399-1.shtml<BR><BR>Happy Programming!<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •