Click to See Complete Forum and Search --> : How to write data to a text file.


justme
08-08-2003, 09:16 PM
I am having trouble figuring out how to write data to a text file. here is my form code:

<form>
form name="form1" method="post" action="search_results.asp">
<input type="text" name="searchtext" value="Search Database" size="16" onClick="if(this.value == 'Search Database') { this.value = ''; }">
<input type=image src="/images/search.gif" border="0" name="Submit">
</form>

I want to write the data that is being searched for into a text file while still being able to search database. Reason being I want to keep track of the search words my users are using to find stuff on my page. Thanks in advance for any help with this. :D

justme
08-09-2003, 12:25 PM
Dave thanks alot for the help. The code works like a charm.:)