Incorporating pre-exsting Php/Mysql into Flash

Hello all, I am trying to incorporate a php/ mysql site that is already set up, to read into my new flash site… How ever i am new to the whole coding thing, and would love to read up on it if anyone can suggest any books/ tutorials.

But onto the problem at hand, i have made the stage with all the diffrent pages, now one tutoral i was reading said i had to make my text feild dynamic (good, did it) but it also said i have to set a varable name to it… (how do i go about doing this, and does this varable name need to match my varables already set in my php/ my sql codes?) and then make that dynamic text feild into a movie clip… but again i can’t figure out how to set my varable and if it needs to match the pre-exsting php code.

Thanks in advance to all who can help point me in the right direction.