form value ?
Hey ThereI have a database connection that work fine
when i use it like this
<%
Set Conn = Server.CreateObject(\"ADODB.Connection\")
Conn.Open \"DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=\" & server.MapPath(\"adresse.mdb\")
strSQL = \"SELECT DISTINCTROW Id, navn ,adresse FROM adresse WHERE pass=\'\" & request(\"pass\") & \"\';\"
Conn.Execute (strSQL)
Set rs = conn.Execute(strSQL)
if not (rs.BOF Or rs.EOF) Then
%>
<html>
<body>
<table>
<tr>
<td><%=rs(\"navn\")%></td><td><%=rs(\"adresse\")%></td>
</tr>
</table>
<%
conn.Close
Set conn = nothing
%>
<% else %>
Ingen brugere med det navn :(
</body>
</html>
<% end if %>
My problem is that if I want to insert the values in a form like this
<input type=\"text\" name=\"navn\" size=\"20\" value=\"<%=rs(\"navn\")%>\">
but when I do this the asp page dosn´t work no more :)
Guzzie[Nubie]
