if i change topic to PHP average array value based on textual duplicate in another array could you please help. thank you