Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

PHP Tutorials: Mini Shopping Cart (Part 2/7)

Loading...

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

Uploaded by on Mar 9, 2011

Create a mini shopping cart, easy to integrate into any design using only a couple of functions.

Official website
http://phpacademy.org

Support Forum
http://phpacademy.org/forum

Follow us on Twitter!
http://twitter.com/phpacademy

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (phpacademy)

  • I love you! Don't take that the wrong way i mean it as you are awesome.

  • @CompDomination Glad you enjoy them, thanks for the feedback.

  • Thanks for this Tutorial!! please keep doing videos, they are very helpful (:

  • @siktpe I'll ALWAYS upload more and more tutorials.

see all

All Comments (26)

Sign In or Sign Up now to post a comment!
  • if (mysql_num_rows($get)==0)  its giving me error.. :(

  • if there are more than 2 at once using the cart will it be stored as different data?

  • You have no idea how much you are helping us! Without your help, I would have been wandering cluelessly on how to begin my php assignment. You are infact helping my whole class. You are the best ! :]

  • What if I have different tables that contains different products and each table is sort of like a category. Example one table is for books then another is for clothes and they contain different column/data. A book may have authors while clothes may have Type. Will the codes be any different? Can I still use this tutorial?

  • @M4sTaSk1LlZ Oh okay :D Sweet!

  • @M4sTaSk1LlZ It should be:

    $get = mysql_query('SELECT id, name, description, price FROM products WHERE quantity > 0 ORDER BY id DESC');

    You had an extra comma after price.

  • @M4sTaSk1LlZ Check your MySQL query.

  • @phpacademy Always? Forever and ever?! YES! :D

  • hi, thanks for uploading. How can i show the data horizontally, not vertically. i would like to show 3 data per row next to each other. now you are showing 1 data per row. how about 3 data in one row then it will go to next row if there are more content left...thanks..

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