Getting text from db

Hello p33ps, i am not that good yet with flash, however i used this example

http://www.cbtcafe.com/flash/3dtext/3dtext.html

i would like to know if i can replace that text with text by getting it from a database ( using php preferd )

Any explanation on how to do this would be great.