%@language="javascript" %> <% dbConn = Server.CreateObject("ADODB.Connection") dbConn.Open("tj") catudk = Request.QueryString("cat"); //get category id RScatid = dbConn.Execute("Select * FROM category where catudk='"+catudk+"'") catid = RScatid.Fields("categoryid"); catTitle = RScatid.Fields("category"); sqlstr = "Select * FROM thought where categoryid = "+catid ; TRS = dbConn.Execute(sqlstr); linecntr = 0 %>
Thoughts for <%=catTitle%> |
Add A New Thought |
| Thought Title | Thinker | Date Submitted |
| "><%=TRS.Fields("title")%> | <%=TRS.Fields("username")%> | <%=TRS.Fields("datecreated")%> |