# PHP and AS3 shopping cart

**URL:** https://forum.kirupa.com/t/php-and-as3-shopping-cart/261696
**Category:** programming
**Created:** [May 29, 2008, 11:51pm UTC](https://forum.kirupa.com/t/php-and-as3-shopping-cart/261696 "2008-05-29T23:51:32Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Dimitree](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dimitree/32/2530_2.png) [@Dimitree](https://forum.kirupa.com/u/Dimitree)
#### Post date: [May 29, 2008, 11:51pm UTC](https://forum.kirupa.com/t/php-and-as3-shopping-cart/261696/1 "2008-05-29T23:51:32Z")

</div>

Well I want to make a shopping cart in AS3 that will be connected with PHP.  
I made a little reseach but haven’t find something tha works with AS3.  
Any hint where I should start first?  
I am not sure If it is better to arrays for the product list or database…  
Actually have no programming experience in PHP so any help will be appreciated!:ne:

---

<div class="post-metadata">

### Author: ![Digitalosophy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/digitalosophy/32/1114_2.png) [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)
#### Post date: [May 30, 2008, 2:13am UTC](https://forum.kirupa.com/t/php-and-as3-shopping-cart/261696/2 "2008-05-30T02:13:48Z")

</div>

If you don’t have much programming experience it’s going to be a crap shoot. I’d probably start with learning database connectivity, then connectivity between Flash and PHP. Where are the products coming from? Are they going to be hard coded in Flash?

I think you’re in over your head.

---

<div class="post-metadata">

### Author: ![djheru](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/djheru/32/3190_2.png) [@djheru](https://forum.kirupa.com/u/djheru)
#### Post date: [May 30, 2008, 2:20am UTC](https://forum.kirupa.com/t/php-and-as3-shopping-cart/261696/3 "2008-05-30T02:20:20Z")

</div>

If you want your shopping cart to be secure, I would definitely brush up on coding skills. Making a cart just as a learning exercise would be a great idea, but when you start dealing with people’s money, you should really know what you’re doing or else you could open yourself up to a host of legal problems.

That said, there is a great video tutorial series for PHP on how to build a shopping cart here:  
[http://www.phpvideotutorials.com/](http://www.phpvideotutorials.com/)

It’s $15 but I think it’s well worth it.

---

<div class="post-metadata">

### Author: ![Dimitree](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dimitree/32/2530_2.png) [@Dimitree](https://forum.kirupa.com/u/Dimitree)
#### Post date: [May 30, 2008, 8:40am UTC](https://forum.kirupa.com/t/php-and-as3-shopping-cart/261696/4 "2008-05-30T08:40:23Z")

</div>

No, no it 's just a college assignment… sorry not to mention that. (so security issues are supposed to be “ignored” for this project)  
I was thinking of making design in Flash “just a simple list of products” and then connect to PHP to do the calculation. I know the connection between PHP and AS3 but this is the first time I ll work with databases.

---

<div class="post-metadata">

### Author: ![Digitalosophy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/digitalosophy/32/1114_2.png) [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)
#### Post date: [May 30, 2008, 2:23pm UTC](https://forum.kirupa.com/t/php-and-as3-shopping-cart/261696/5 "2008-05-30T14:23:44Z")

</div>

@D - I didn’t know this was a college assignment, so sorry if I sounded like a prick :lol:

---

<div class="post-metadata">

### Author: ![Dimitree](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dimitree/32/2530_2.png) [@Dimitree](https://forum.kirupa.com/u/Dimitree)
#### Post date: [May 30, 2008, 4:07pm UTC](https://forum.kirupa.com/t/php-and-as3-shopping-cart/261696/6 "2008-05-30T16:07:37Z")

</div>

> [@Digitalosophy;2333616](#):
>
> @D - I didn’t know this was a college assignment, so sorry if I sounded like a prick :lol:

No worries! I am already studing an AMFPHP tutorial… [http://www.flash-db.com/Tutorials/store/ShoppingTutorial.php](http://www.flash-db.com/Tutorials/store/ShoppingTutorial.php)
