Why do I get this error?:

An error occurred while evaluating the _expression_:
session.item[variables.arrayLength+1][1]=form.qty
Error resolving parameter VARIABLES.ARRAYLENGTH. The specified variable name cannot be found.

for the bold line below.

I'n new to arrays so any insight would be great! Thanks.

Robert at HWW
ô¿ô

<cfset session.item[variables.arrayLength+1][1]=form.qty>
<cfset session.item[variables.arrayLength+1][2]=form.item>
<cfset session.item[variables.arrayLength+1][3]=form.priceeach>

<CFLOOP from="1" to="#arraylen(session.item)#" index="i" step="1">
<table border="0" cellspacing="0" width="440" cellpadding="2">
<tr>
<td width="70" bgcolor="##FFF3CC" align="center">
<font face="Arial" size="2">#session.item[i][1]#</font>
</td>
<td width="300" bgcolor="##FFF3CC" align="center">
<font face="Arial" size="2">#session.item[i][2]#</font>
</td>
<td width="70" bgcolor="##FFF3CC" align="center">
<font face="Arial" size="2">#session.item[i][3]#</font>
</td>
<td width="70" bgcolor="##FFF3CC" align="center">
<font face="Arial" size="2">

<a href=""
<img src="" alt="REMOVE" border="0"></a></font>
</td>
/td>
</tr>
</table>

</cfloop>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to