Hi,
I would like to know how to check a session - to see if it contains 2 letters at the begining of a certain word. - and if it does echo "statement";
i.e
$_SESSION['cart']
I have items with ID's that start with 2 letters and then 3 numbers i.e
FF345, FF561, OF456 (Nice and simple)
Now how would I check a session to see if it contains an item with the ID "OF"
at the start?
And if any item that starts with "OF" is present then simply echo "Something Here";
?
I'm sure this is easy for most of you, but i'm finding it a challenge.
Hope you can help.
Cheers