Flash-PHP Shopping Cart

Boy, it’s been a while…

Hello all you dever’s out there, I’ve been working on learning assembly and then C because I’ve been working on an Operating System…

In anycase, is there a way to make a flash-powered shopping cart interface with php?

The main reason I ask is because I don’t know whether it’s better to have my data loaded from a database, or from files? I like the database idea (nice and neat) but I don’t really know how to load text and whatnot.

Thanks a bunch, you guys.