Speedy
07-07-2004, 10:10 PM
Hi,
I wonder if someone could trll me how to count the amount of posts in my db?
I got the following code for my db connection:
<%
Set Connect = Server.CreateObject("ADODB.Connection")
Connect.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & Server.MapPath("db/db.mdb")
Set Recset = Connect.execute("SELECT * FROM register ORDER BY namn")
%>
PS! I've searched around the forum but didn't find anything that helped me DS!
/Speedy
I wonder if someone could trll me how to count the amount of posts in my db?
I got the following code for my db connection:
<%
Set Connect = Server.CreateObject("ADODB.Connection")
Connect.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & Server.MapPath("db/db.mdb")
Set Recset = Connect.execute("SELECT * FROM register ORDER BY namn")
%>
PS! I've searched around the forum but didn't find anything that helped me DS!
/Speedy