add.asp
来自「西亚电子购物系统」· ASP 代码 · 共 20 行
ASP
20 行
<!--#include file="conn/nosql.asp" -->
<%if session("xiya.net")="" then
session("xiya.net")="xiya.net"
end if
Sub PutToShopBag( add, ProductList )
If Len(ProductList) = 0 Then
ProductList = "'" & add & "'"
ElseIf InStr( ProductList, add ) <= 0 Then
ProductList = ProductList & ", '" & add & "'"
End If
End Sub
ProductList = Session("ProductList")
Products = Split(nosql(Request("add")), ", ")
For I=0 To UBound(Products)
PutToShopBag Products(I), ProductList
Next
response.write productlist
Session("ProductList") = ProductList
response.redirect"mycart.asp"
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?