Hi! I sure hope that i'll get as good help that i have had on my other questions. I have this problem, i want the shopping basket to be in a frame so the customer always will see what the basket contains... but i can solve this... pls help me... this is the code for ShowBasket.asp:
<html>
<head><title>Global Kockknivar</title></head>
<body bgcolor="ffffff" text="#000000" link="#008000" alink="#808000" vlink="#800000">
<%
Dim oRs
Dim strSQL
Set oRs = Server.CreateObject("ADODB.Recordset"
With oRs
.ActiveConnection = "DSN=SYCENT;"
.CursorLocation = 3
.CursorType = 3
.LockType = 4
strSQL = "SELECT Name, Quantity, Price FROM BasketContent " & _
"INNER JOIN Merchants ON BasketContent.MerchantID = Merchant.Id " & _
"WHERE BasketContent.BasketId = " & Request("BasketID"
.Open strSQL
Set .ActiveConnection = Nothing
While Not oRs.EOF
Response.Write "Name: " & oRs("Name".Value & " Quantity: " & oRs("Quantity".Value & " Tot Price: " & oRs("Quantity".Value * oRs("Price".Value & "<br>"
oRs.MoveNext
Wend
.Close
End With
Set oRs = Nothing
%>
</body>
</html>
can someone pls help me?
<html>
<head><title>Global Kockknivar</title></head>
<body bgcolor="ffffff" text="#000000" link="#008000" alink="#808000" vlink="#800000">
<%
Dim oRs
Dim strSQL
Set oRs = Server.CreateObject("ADODB.Recordset"
With oRs
.ActiveConnection = "DSN=SYCENT;"
.CursorLocation = 3
.CursorType = 3
.LockType = 4
strSQL = "SELECT Name, Quantity, Price FROM BasketContent " & _
"INNER JOIN Merchants ON BasketContent.MerchantID = Merchant.Id " & _
"WHERE BasketContent.BasketId = " & Request("BasketID"
.Open strSQL
Set .ActiveConnection = Nothing
While Not oRs.EOF
Response.Write "Name: " & oRs("Name".Value & " Quantity: " & oRs("Quantity".Value & " Tot Price: " & oRs("Quantity".Value * oRs("Price".Value & "<br>"
oRs.MoveNext
Wend
.Close
End With
Set oRs = Nothing
%>
</body>
</html>
can someone pls help me?