# Flash/Databases and Dynamic Content

**URL:** <https://forum.kirupa.com/t/flash-databases-and-dynamic-content/181289>\
**Category:** flash\
**Created:** [March 8, 2006, 3:54am UTC](https://forum.kirupa.com/t/flash-databases-and-dynamic-content/181289 "2006-03-08T03:54:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![denizengt](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@denizengt](https://forum.kirupa.com/u/denizengt)\
**Post date:** [March 8, 2006, 3:54am UTC](https://forum.kirupa.com/t/flash-databases-and-dynamic-content/181289/1 "2006-03-08T03:54:53Z")

</div>

I have a simple mySQL database. This database is called “products” and contains a table called “items”, each “item” has a hyper link, image and description, associated with it, in seperate columns of course 🙂

What I’m wondering, is can I load these items dynamically from the products table, and display them into flash, into say, a blank movieclip?

Any help or tutorial links and the like would be much appreciated.

EDIT: Would I have to use PHP as an intemediary for a database connection?

---

<div class="post-metadata">

**Author:** ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)\
**Post date:** [March 20, 2006, 1:29am UTC](https://forum.kirupa.com/t/flash-databases-and-dynamic-content/181289/2 "2006-03-20T01:29:12Z")

</div>

sweet solution - love it!

creatify

---

<div class="post-metadata">

**Author:** ![treatkor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/treatkor/32/680_2.png) [@treatkor](https://forum.kirupa.com/u/treatkor)\
**Post date:** [March 20, 2006, 12:57pm UTC](https://forum.kirupa.com/t/flash-databases-and-dynamic-content/181289/3 "2006-03-20T12:57:09Z")

</div>

glad you like it. 🙂 i think it’s nice because you can start building your flash using static xml files for testing even before you have your database set-up and populated, and then just set the php to mimic the output of your static xml files.  
it’s definitely not as robust a solution as amfphp but it works perfect for most of my needs.

(edit: i hope you were referring to my solution and not amfphp 😟 )  
(2nd edit: duh! i just realized creatify posted the link to amfphp in the first place. hah!)

---

<div class="post-metadata">

**Author:** ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)\
**Post date:** [March 20, 2006, 9:50pm UTC](https://forum.kirupa.com/t/flash-databases-and-dynamic-content/181289/4 "2006-03-20T21:50:37Z")

</div>

Sure was, thanks treatkor - and I like that too, being able to use xml vs. the db in the interim - I do that w/ amfphp, creating a static #include file that has a temporary record set so I don’t have to connect to the db, but the switchover isn’t near as nice as changing and xml link, thanks again,

creatify
