How would i go about making a shopping cart using flash and PHP?

Hi guys, i am about to do my final year project at uni, and was thinking about creating a shopping cart using flash, i was told that i need to use PHP or ASP, which one is better and why. Also what would a flash shopping cart involve, i’d like it to be linked to a database, i have roughly 6 months to do it, is this enough time?

I’d be greatful for any info, thanks!