Added: 11 months ago
From: phpacademy
Views: 9,659
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

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?

  • Comment removed

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

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

  • I Watch your videos for a year now and you have just inspired me to begin my own series... You are awesome!

  • I get an Tstring error on line 14 and thats the last echo line on your tut. Ive typed it out the same exact way and gone over several times.

  • semicolon( ; ) at the end and the php closing tag( ?> ) after all commands must be present...

    Also it would help if you could send the code in PM message, so I can help you out if I can...

    Try removing the line...

  • semicolon( ; ) at the end and the php closing tag( ?> ) after all commands must be present...

    Also it would help if you could send the code in PM message, so I can help you out if I can...

    Try removing the line...

    Or check out the line over it too.

  • I might suggest considering the typos

  • HELP, every time i refresh the page i get a error saying parse error: syntax error, unexpected end in cart . php on line 25. line 25 is the ending for the php part

  • @monstergarage2 no one can help you until they see the code. particularly, check if you have inputted two "?>" always have a opening and closing tag.

  • @elvisniperx thx, i found out the problem, it was i was missing the else statement brack }

  • @phpacademy, thank you so much for all your dedication to your channel and the community. I am really grateful for all your hard work and your amazing and very informative tutorials. Keep it up! I will do my best to promote your work.

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

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

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