Ok so i have two arrays..
eg..
$items[] contains
1
11
2
7
98
etc..
$catalogue[] contains
s1
L11
s2
XL7
m98
etc..
What I am looking to do is compare both,
If $catalogue[] contains a match with one of the items in $items[]
then i need to alter the $items[] array item to the same thats in $catalogue[]..
Humbling myself here, i have no idea which array functions or anything to use.
Another problem would be if I am looking for '1' from the $items[] array, Im presuming 2 matches would appear. ('s1','L11') .
How would I get around this?
Thanks in advance.