Print Page | Close Window

Search Database

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Database Discussion
Forum Description: Discussion and chat on database related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=8088
Printed Date: 28 March 2026 at 5:59pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Search Database
Posted By: chucxie
Subject: Search Database
Date Posted: 14 December 2003 at 6:21pm
Hi, I need help on the right script to link the search page
 on my website with the database and report it on 
the ‘result page’. The automobile search page has 
four text fields namely- type, location, year, and capacity 
and, of course, a search button. Normally when the user 
clicks on the search button after selecting their search
 criteria, the database is searched and the result is 
displayed on another page. 
How can I achieve this, Scriptwise. Thanks.chucxie



Replies:
Posted By: aalavar
Date Posted: 15 December 2003 at 8:20am

Your search page (ie Searchpage.asp) should have a <form> on it, in that form simply enter the name of the result page (ie results.asp)...

<form method="POST" action="results.asp>
...
<input type="submit">
</form>

That form will send the information to the results page, then just use it for the query and to display the results on the new page.

 

 



Posted By: chucxie
Date Posted: 16 December 2003 at 4:25pm
Thanks aalavar, i will try this



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net