# Compare flash dynamic text to db

**URL:** <https://forum.kirupa.com/t/compare-flash-dynamic-text-to-db/208409>\
**Category:** flash\
**Created:** [November 28, 2006, 2:35pm UTC](https://forum.kirupa.com/t/compare-flash-dynamic-text-to-db/208409 "2006-11-28T14:35:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mattiax](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Mattiax](https://forum.kirupa.com/u/Mattiax)\
**Post date:** [November 28, 2006, 2:35pm UTC](https://forum.kirupa.com/t/compare-flash-dynamic-text-to-db/208409/1 "2006-11-28T14:35:52Z")

</div>

Hello!

I´m trying to make a wordgame in flash.  
Lets say I have a dynamic text field with the letters “THENTERM”  
How can I compare this string to a db with alot of words??  
I want flash to show a list of all words that where found in the db.  
Like this:

THE  
THEN  
ENTER  
TERM

I know how to connect to my db using php.  
But when it come´s to the search and compare thing,  
I have no idea of what I should do…  
Is it very complicated to do this using flash and php??

Sorry if my english is bad…

//M
