dude9er
10-06-2007, 04:37 AM
I am trying to display my mdb database in the browser. The data is rendered into a table, however I am having a problem with a small bit of code.
Here is the code, this is not working for me:
<a href="update_form.asp?ID=" & "<%=rsHotelblock(("ID_no"))%>"><%=rsHotelblock("Hotel")%></a>
I want to autogenerate the link with column ID_no which references column Hotel as the link displayed. Final html should look like this:
<a href="update_form.asp?ID=1>Hotel Name</a>
but the code block above renders as
<a 1="" &="" href="update_form.asp?ID=">Hotel</a>
Can someone please show what I'm doing wrong?
Thanks!!!!!
Here is the code, this is not working for me:
<a href="update_form.asp?ID=" & "<%=rsHotelblock(("ID_no"))%>"><%=rsHotelblock("Hotel")%></a>
I want to autogenerate the link with column ID_no which references column Hotel as the link displayed. Final html should look like this:
<a href="update_form.asp?ID=1>Hotel Name</a>
but the code block above renders as
<a 1="" &="" href="update_form.asp?ID=">Hotel</a>
Can someone please show what I'm doing wrong?
Thanks!!!!!