How do you make add to cart for mysql?

image

image

So here I want to click the image and then the cart will be under ther order details,
I am using a mysql database

and If we can, I want to display it in a table

I was following this Simple PHP Mysql Shopping Cart | Webslesson

my assignment is to do a website and apps that sells gaming peripherals etc

Welcome.

To do part of what you want (use an image or a Button) to select what goes in your sql statement, you need to learn how to code using App Inventor.

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials.

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

... and what you do depends on using Lists to manipulate and synchronize the files of your images with data the sql can understand.

if you are able to provide the information for the Order Details as a csv file, you could use Taifun's tutorial about using javascript called Dynamic Table to provide the OrderDetails in a WebViewer.

Did you read this PHP Shopping Cart Source Code | Webslesson ?