SWFAddress - passing different vars with php

Hello!
I’m trying to make a website where I can use SWFAddress.
The thing is that I have all the site’s info in sql.
In the example found at http://www.asual.com/swfaddress/samples/seo/#/portfolio/2/?desc=true they use 2 external php files…
One called index.php and the other datasource.php…

I wanted to know how can I get my content to load in that datasource.php

Anyone knows?

Any examples out there?
Thanks in advance!