Forums

This topic is locked

Search engine query

Posted 15 Sep 2005 19:36:26
1
has voted
15 Sep 2005 19:36:26 Andrew Robinson posted:
hi,

I have created a search page using VBScript. I would like to know how you display the text, that the user typed into the search text box.

For example:

You searched for: ? -what code do i put here?


If this helps, this is the code for the search form, that has a text field and a 'submit' button:

--------------------------------------------------------------------------------
<form action="index02.asp" method="get" name="Search_Results" id="Search_Results">


<input name="Search" type="text" id="Search">
<img src="../images/magnifiying-glass.jpg" width="28" height="28">
<input type="submit" name="Submit" value="Search">
</a><img src="../images/pagedesign-sliced03_07.jpg" width="7" height="28">
</form>
----------------------------------------------------------------------------------

Please tell me in the simplest way what i have to type into the code to get the text that was typed into the search text field.

Thankyou


Replies

Replied 16 Sep 2005 17:41:12
16 Sep 2005 17:41:12 Vince Baker replied:
You searched for: <%=Request.Querystring("Search"%> should do the trick.

Regards

Vince Baker
<strong>DMX Zone Manager</strong>

[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]

Reply to this topic