dette skulle kunne gøre det:
og det er besked og navn der skal udfyldes som du sagde over ICQ.
<% mode = request(\"function\") %>
<% if mode = \"\" then %>
<html><head>
<title>Tagwallen</title>
<style>
<!--
a:link {color:#000000; text-decoration:none}
a:visited {color:#000000; text-decoration:none}
a:hover {color:#000000; text-decoration:underline}
-->
</style>
</head>
<body bgcolor=\"#EEEEEE\">
<% if mode = \"save_data\" then %>
<%
navn = Trim(Request.Form(\"navn\"))
besked = Trim(Request.Form(\"tag\"))
if navn = \"\" then
fejl = \"Du skal skrive et navn\"
end if
if besked = \"\" then
fejl = \"Du skal skrive et Tag\"
end if
if not navn = \"\" then
if besked = \"\" then
else
skriv = \"true\"
end if
end if
if skriv = \"true\" then
Const adOpenKeyset = 1
Const adLockOptimistic = 3
Set Conn = Server.CreateObject(\"ADODB.Connection\")
Conn.Open \"PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=\" & Server.MapPath(\"db.mdb\") & \";UID=admin;PWD=hehe;\"
Set rs = Server.CreateObject(\"ADODB.RecordSet\")
strSQL = \"Select * From beskeder\"
rs.Open strSQL, Conn, adOpenKeyset, adLockOptimistic
rs.AddNew
rs(\"navn\") = Request.form(\"navn\")
rs(\"mail\") = Request.form(\"mail\")
rs(\"hjemmeside\") = Request.form(\"hjemmeside\")
rs(\"hjemmeside_titel\") = Request.form(\"hjemmeside_titel\")
rs(\"icq\") = Request.form(\"icq\")
rs(\"tag\") = Request.form(\"tag\")
rs(\"dato\") = Now()
rs(\"ip\") = request.servervariables(\"remote_Addr\")
rs.Update
rs.Close
Set rs = Nothing
Conn.Close
set Conn = Nothing
Response.Redirect(\"tagwall.asp\")
end if
%>
<% end if %>
<form action=\"skriv.asp?function=save_data\" method=\"POST\">
<p align=\"center\"><b>
<font face=\"Verdana\" font size=\"2\">Tagwallen<br>
</font>
</b>
<font size=\"1\" face=\"Verdana\">Hvis der er en af tingene du ikke har, fx. ICQ,
så lad bare feltet stå tomt.</font>
<div align=\"center\"><center><table border=\"0\" cellpadding=\"2\"
cellspacing=\"0\" width=\"75%\" height=\"1\">
<tr>
<td align=\"left\" width=\"250\" valign=\"top\" height=\"1\" bgcolor=\"#9E9E9E\" style=\"border-style: solid; border-width: 1\" bordercolor=\"#000000\"><b><font face=\"Verdana\" font size=\"2\"> Navn:<br>
</font></b><font face=\"Verdana\" font size=\"1\"><b> </b>Fx.
Søren Sørensen</font></td>
<td width=\"511\" height=\"1\" bgcolor=\"#C0C0C0\" style=\"border-right-style: solid; border-right-width: 1; border-top-style: solid; border-top-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font face=\"Verdana\" size=\"2\"><b>
<INPUT TYPE=\"text\" NAME=\"Navn\" class=\"css\" size=\"20\" style=\"background-color: #EEEEEE; color: #000000; font-family: Verdana; font-size: 10 pt; border: 1 solid #000000\"></b></font></td>
</tr>
<tr>
<td align=\"left\" width=\"250\" valign=\"top\" height=\"25\" bgcolor=\"#9E9E9E\" style=\"border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font face=\"Verdana\" font size=\"2\"><b> E-mail:<br>
</b></font><font face=\"Verdana\" font size=\"1\"><b> </b>Fx.
soeren@soerensen.dk</font></td>
<td width=\"511\" height=\"25\" bgcolor=\"#C0C0C0\" style=\"border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font face=\"Verdana\" size=\"2\"><b>
<INPUT TYPE=\"text\" NAME=\"mail\" class=\"css\" size=\"20\" style=\"background-color: #EEEEEE; color: #000000; font-family: Verdana; font-size: 10 pt; border: 1 solid #000000\"></b></font></td>
</tr>
<tr>
<td align=\"left\" width=\"250\" valign=\"top\" height=\"25\" bgcolor=\"#9E9E9E\" style=\"border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font font face=\"Verdana\" size=\"2\"><b> Titel
på hjemmeside:<br>
</b></font><font font face=\"Verdana\" size=\"1\"><b> </b>Fx.
Min Hjemmeside</font></td>
<td width=\"511\" height=\"25\" bgcolor=\"#C0C0C0\" style=\"border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font face=\"Verdana\" size=\"2\"><b>
<INPUT TYPE=\"text\" NAME=\"hjemmeside_titel\" class=\"css\" size=\"20\" style=\"background-color: #EEEEEE; color: #000000; font-family: Verdana; font-size: 10 pt; border: 1 solid #000000\"></b></font></td>
</tr>
<tr>
<td align=\"left\" width=\"250\" valign=\"top\" height=\"19\" bgcolor=\"#9E9E9E\" style=\"border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font face=\"Verdana\" font size=\"2\"><b> Hjemmeside:<br>
</b></font><font face=\"Verdana\" font size=\"1\"><b> </b>Fx.
http://www.soeren.dk</font></td> <td width=\"511\" height=\"19\" bgcolor=\"#C0C0C0\" style=\"border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font face=\"Verdana\" size=\"2\"><b>
<INPUT TYPE=\"text\" NAME=\"Hjemmeside\" class=\"css\" size=\"20\" value=\"
http://\" style=\"background-color: #EEEEEE; color: #000000; font-family: Verdana; font-size: 10 pt; border: 1 solid #000000\"></b></font></td>
</tr>
<tr>
<td align=\"left\" width=\"250\" valign=\"top\" height=\"25\" bgcolor=\"#9E9E9E\" style=\"border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font face=\"Verdana\" font size=\"2\"><b> ICQ
nummer:<br>
</b></font><font face=\"Verdana\" font size=\"1\"><b> </b>Fx.
123456</font></td>
<td width=\"511\" height=\"25\" bgcolor=\"#C0C0C0\" style=\"border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font face=\"Verdana\" size=\"2\"><b>
<INPUT TYPE=\"text\" NAME=\"icq\" class=\"css\" size=\"20\" style=\"background-color: #EEEEEE; color: #000000; font-family: Verdana; font-size: 10 pt; border: 1 solid #000000\"></b></font></td>
</tr>
<tr>
<td align=\"Left\" valign=\"top\" width=\"250\" height=\"81\" bgcolor=\"#9E9E9E\" style=\"border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font face=\"Verdana\" font size=\"2\"><b> Besked:</b></font></td>
<td valign=\"middle\" width=\"511\" height=\"120\" bgcolor=\"#C0C0C0\" style=\"border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\">
<font face=\"Verdana\" font size=\"2\">
<b>
<textarea name=\"tag\" rows=\"6\"
cols=\"40\" class=\"css\" style=\"background-color: #EEEEEE; color: #000000; font-family: Verdana; font-size: 10 pt; border: 1 solid #000000\"></textarea></b></font></td>
</tr>
<tr>
<td width=\"250\" height=\"27\" bgcolor=\"#9E9E9E\" style=\"border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font face=\"Verdana\" size=\"1\"><b>OBS.</b><br>
Hvis du flooder gæstebogen, bliver du bannet. </font></td>
<td width=\"511\" height=\"27\" bgcolor=\"#C0C0C0\" style=\"border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\"><font face=\"Verdana\" font size=\"2\"><b>
<input type=\"submit\"
name=\"submit\" value=\"Skriv..\" class=\"css\" style=\"background-color: #9E9E9E; color: #000000; font-family: Verdana; font-size: 10 pt; font-weight: bold; border: 1 solid #000000\"> </b></font></td>
</tr>
<tr>
<td width=\"761\" height=\"1\" bgcolor=\"#9E9E9E\" style=\"border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1\" bordercolor=\"#000000\" colspan=\"2\">
<p align=\"center\"><font face=\"Verdana\" font size=\"1\"><b>Copyright
2001, Dennis Hansen</b></font><font face=\"Verdana\" font size=\"2\"><b> </b></font></p>
</td>
</tr>
</table>
</center></div>
<p align=\"center\">
<font face=\"Verdana\" size=\"2\"><b>
</form>
<% end if %>
</b></font>