JamesManke
Programmer
EXAMPLE:
session.cart[1].id = 23
session.cart[2].id = 54
session.cart[3].id = 76
What is a function that can find a certain id. What I want to do is scan the array and see if a certain id remains in the array. For example, if I scanned the array shown and asked if id number 54 was in it, it would give a true/false or 0/1 value.
Thanks for your help,
James
session.cart[1].id = 23
session.cart[2].id = 54
session.cart[3].id = 76
What is a function that can find a certain id. What I want to do is scan the array and see if a certain id remains in the array. For example, if I scanned the array shown and asked if id number 54 was in it, it would give a true/false or 0/1 value.
Thanks for your help,
James