i am getting data from xml feed and then using foreach loop inserting data in mysql.
but xml feed contains multiple items with same attribute like this
but what i want is ,
the addition of subitems of the attributes having same values
as xml shows the attribute tag1111 has 3 types of values
if i add something in foreach loop it gets replaced for every loop.
how can i do this ?