Forum Moderators: open
Thanks
Aiden
I have a row that I have set to have it's values inserted as follows: 1:whole:unit, I have exploded the row so it now reads "1 whole row". What I am wanting to do is to see if any of the second variables in the rows match e.g. if 2 rows in the database have "1:whole:row" in it I want to write a script that finds matching second variables e.g. "whole" in this instance ($string[1]) and then add the first variables ($string[0]) together, so "1:whole:unit" would become "2 whole units" once the script is finished processing.
If you could help me with this it would be much appreciated.
Cheers
Aiden