V
V
Vasilisck482020-04-18 16:17:25
PHP
Vasilisck48, 2020-04-18 16:17:25

How to implement a search pattern?

Hello. Tell me how to implement a search by the template of the entered data in php.
For example, there is a search form for images in the database, if you enter a picture resolution of 240x320 there, then the search will only search by permissions.
I'll deal with the conditions myself, at least give me a tip how it should look like there may be some kind of regular season. to define it (DIGITXNUMBERS). I'm a beginner myself, so far.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2020-04-18
@Vasilisck48

NUMBERS

'/([\d]+)x([\d])+/i'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question