# Best way to re-attach dynamic clips with updated database info

**URL:** <https://forum.kirupa.com/t/best-way-to-re-attach-dynamic-clips-with-updated-database-info/177664>\
**Category:** Uncategorized\
**Created:** [February 3, 2006, 9:16pm UTC](https://forum.kirupa.com/t/best-way-to-re-attach-dynamic-clips-with-updated-database-info/177664 "2006-02-03T21:16:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![natronp](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@natronp](https://forum.kirupa.com/u/natronp)\
**Post date:** [February 3, 2006, 9:16pm UTC](https://forum.kirupa.com/t/best-way-to-re-attach-dynamic-clips-with-updated-database-info/177664/1 "2006-02-03T21:16:19Z")

</div>

building a dynamic menu with xml via php, mysql. attaching clips from the library for each database row/xml node, etc. No problem there.

my question is how can i rebuild that menu if another database call is made and the list needs to be repopulated?

I imagine i could create a clip on the fly and attach clips, but how could I get rid of the previous one?

i’d like to re-use the xml object just write a function that either rebuilds the clip or creates a new instance of an empty clip and builds the menu with that one?

make sense?

thanks for any input y’all!
