Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ArrayDeleteAt

Status
Not open for further replies.

khurram

IS-IT--Management
Jan 10, 2001
95
CA
I am using a 2D array to store products as a shopping cart. When the user deletes something from the cart, I use the arrayDeleteAt function. However, it always returns a boolean across the top of the page saying YES.

Is there a way to turn it off or is there another method.

Thanks.
 
Hi khurram ..
Use a temporary variable to hold the result of the function:

<cfset var_temp = #ArrayDeleteAt(shopping_cart, 1)#>

now, you wont see the 'Yes' on ur page!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top