|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
array delete at help
I started using arrays in a session to make a shopping cart then decided to implement it to show what users were online. i can add the users to the array fine but when they log out i cant get them to delete.
this is because with the array delete at function you need to know the postion in the array. Is there a way to delete positionsbases on the values contained in them or any way to solve this problem? thanks |
|
#2
|
|||
|
|||
|
You can write a function that loops over the array, looks for the value that you specified, and then deletes it.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > array delete at help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|