Skip to content
Advertisement

PHP MYSQL print

I have a list of results depending on the store numbers, each store number is printed with all its info, the first option “ALL” displays info from ALL the store numbers, I want the option “ALL” to just display info from store number 1, 2, and 3, not ALL of them.

This is my code:

JavaScript

Advertisement

Answer

To expand from my comment, you can do something such as the following to have a good way to display the data you need;

JavaScript

A little neater, and better for the order, would be to do something such as below;

JavaScript

From new explanations;

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement