PHP & MySQL - Shopping Cart - Part 10 Update

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,165
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 30, 2009

The update to part 10 in this Tutorial series in creating a shopping cart

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (TheTutSpace)

  • Hi im getting this error in the cart on the sidebar once the product has been added :(

    Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\cart\index.php on line 34

    Go to Cart

  • @1webbmanjones check your session names for typos, and also, on your queries, and stuff add 'or die( mysql_error());'

see all

All Comments (28)

Sign In or Sign Up now to post a comment!
  • Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource

    I am stuck on the error you were receiving at 1:52 Any help would be great

  • hi, followed all your steps and used all your codes but the quantity of items in the cart is not increasing or resetting...need help ASAP

  • @1webbmanjones

    this was a very long time ago, but i had the same problem. i found that i missed a * in the select * from products part of the query on line 27 and this was what was causing the error. hopefully this will help someone else..

  • Thanks for the great video! If you need help installing, configuring, or setting up zen cart, check out our channel for lots of Easy Help Zen Cart Tutorials:

  • add or die, he said

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '2,1,3) ORDER BY id_product ASC' at line 1

    But i still don;t know what's wrong. plx help thanks.

  • i still have problem.

    while($row = mysql_fetch_assoc($query))

    he said

    Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\cart\index.php on line 45

    can help me??

  • hey thanks for the tutorial man. I'm having a problem with adding items to the cart. I have it so it says that there are no items in the cart and I need to add an item. But when I click add item it sends me to my home page. (note: my home page is a different page from my products page altogether) any help would be greatly appreciated.

  • i followed this your steps and when i tried to click the add to cart. there are no results.. can you please help me? :(

  • @jalexander05 I have a feeling Alex fixed it. ~Jono

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more