Design first, we make a message thin, first make an input screen interface effect, that is, generate the Message Input screen HTML page, and then in these HTML source code to add ASP script, I get the HTML code below.
* FileName: book.htm
<title> Message Book </title>
<body bgcolor= "#BED9FC" background= "Images/bg.gif"
<p align= "center" >Height= "" "> </p>
<p align= "center" >[<a href= "disp.asp" I want to see the message board </a>] [<a Href=]. /index.asp "> back home </a>] </p>
<form method= "POST" action= "book.asp"
<input type= "hidden" name= "task" value= "Insert" ><div "left" <table>
<tr>
<TD align= "right" > name </td>
The <td> </td>
<td> <input name= "name" size= "+" </td>
</tr>
<tr>
<TD align= "right" sex </td>
The <td> </td>
<td> <input name= "Sex" size= "+" </td>
</tr>
<tr>
<TD align= "Right" from the </td>
The <td> </td>
<td> <input name= "from" size= "+" </td>
</tr>
<tr>
<TD align= "right" homepage URL </td>
<td> </td>
<td> <input name= "url" size= "+" </td>
</tr>
<tr>
<TD align= "Right"
E-Mail </td>
<td> </ td>
<td> <input name= "Email" size= "+" </td>
</tr>
<tr>
<TD align= "right" > message </td>
<TD colspan= "2" ><textarea wrap= "Off" name= "comments" cols= "$" rows= "9" > </textarea> </td>
</tr>
<tr>
<td> </td>
<TD colspan= "2" > <dl>
<DD align= "center" > <input type= "Submit" value= "I have written"
<input type= "reset" value= "re-write" > </dd>
</dl>
</td>
</tr>
</table>
</div>
</form>
<p align= "center" > </p>
</body>
You can click here to look at the effect of this interface (you need to emphasize that the HTML code is still completely non-functional) you can save it as a book.htm, and then open it with FRONTPAGE98, open, you can view the page of the input form of the attribute, in this message book. We use two files to process, one is book.asp, the other is disp.asp, the former is an input interface, the latter is a display interface, used to display message information.