PHP & MySQL – Shopping Cart – Part 10 Update

Posted by: Admin  :  Category: Mysql

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

The update to part 10 in this Tutorial series in creating a shopping cart
Video Rating: 5 / 5

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

24 Responses to “PHP & MySQL – Shopping Cart – Part 10 Update”

  1. sandeepshah89 Says:

    @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..

  2. ZenCartEasyHelp Says:

    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:

  3. tracy329 Says:

    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.

  4. tracy329 Says:

    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:xampphtdocscartindex.php on line 45

    can help me??

  5. ravage238 Says:

    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.

  6. ryann2207 Says:

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

  7. TheTutSpace Says:

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

  8. jalexander05 Says:

    Thanks for the great tutorial!!! I just had one question..Does the cart still not work in firefox or were you able to fix it?

  9. TheTutSpace Says:

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

  10. 1webbmanjones Says:

    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:xampphtdocscartindex.php on line 34
    Go to Cart

  11. lernedman Says:

    after tut 10 update, were’s the next one to correct CSS layout
    and start cart.php

  12. TheTutSpace Says:

    @zainielias Thats because you were looking for a variable with the name {id}

    It should be {$id}.

    But, your way works also..

  13. zainielias Says:

    @TheTutSpace i change this
    $sql2 = “SELECT * FROM products WHERE id_products=$[id]”;
    to this
    $sql2 = “SELECT * FROM products WHERE id_products=$id”;
    and it works!

  14. tiger2380 Says:

    Great. I just subscribe. Thanks for the tutorials.

  15. TheTutSpace Says:

    Uploading now. Sorry i mispredicted when they would be uploaded 😀

  16. TheTutSpace Says:

    ill be uploading on wednesday probiably.

  17. TheTutSpace Says:

    Im recording the video in a minute.

  18. devindya Says:

    Can you plz post the rest of the tutorial?real nice tutorial!!

  19. TheTutSpace Says:

    I recommend you recheck your code. as if it works in the video, it will work as the code.

    i show the same code preview as what i code in the video, so.. it should work.

    Also, i know, i have been really busy and plan on getting it out as soon as possible. Please wait for it 🙂

  20. supersonic225 Says:

    @TheTutSpace ; from 2:10 you havnt shown us how you added those items to the cart… when you press add to cart on multiple items, only one row appears. also this has had 185 views now….

  21. TheTutSpace Says:

    Erm, Hi?

  22. bernajunio Says:

    hi…

  23. TheTutSpace Says:

    Thanks!

    Remember to subscribe and tell others about me, More subscribers we get, more amazing tutorials you get 🙂

    I will upload next video when this one has approx 80 views 🙂

  24. Haggi Says:

    Nice Video!

Leave a Reply

*