Is there a way to check and then drop one of two identical values called from a db using php? For example, when calling up the breadcrumbs when multiple parents is enabled, the top level term is called twice into the breadcrumb, once for each parent term. How could I write an addition to the php to check and then drop the second identical value?

Any suggestions or work arounds welcome.

Mark