E
E
enrike2014-07-27 20:57:22
PHP
enrike, 2014-07-27 20:57:22

How to create a PHP filter by criteria?

Hello,
I want to create a product filter in PHP, MySQL.
There is a table with goods, and you need to take one size from a table with sizes, for example S, and from a table with colors, for example, red, and you need to display from the table with goods only those that fit these criteria and you need to do this on do, while or for.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Steely, 2014-07-27
@Steely

Well, what's the problem?

V
Viktor Vsk, 2014-07-27
@viktorvsk

Try to do it in PHP, though, storing data in mySQL using loops.
Not on do, while and for.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question