J
James
Have a look at the following ASP code;
<%Response.Buffer=true%>
<HTML>
<BODY>
<%
Dim itema
Dim itemqa
itema="121"
itemqa=2
Response.Cookies("List")(itema)=itemqa
%>
I want to create a simple shopping cart.
It seems the computer won't let itema be
anything other than a string. How can I
specify an item number without having
to declare it within the script?
<%Response.Buffer=true%>
<HTML>
<BODY>
<%
Dim itema
Dim itemqa
itema="121"
itemqa=2
Response.Cookies("List")(itema)=itemqa
%>
I want to create a simple shopping cart.
It seems the computer won't let itema be
anything other than a string. How can I
specify an item number without having
to declare it within the script?