R
R
Robert2017-10-04 02:26:06
SQL
Robert, 2017-10-04 02:26:06

How to implement one thing?

Tell me how to write a code that randomly selects some thing from an array or database and then goes to the payment field)) well, that is, how to make a script so that it randomizes a thing from the database and goes further

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lander, 2017-10-04
@KapcJIoH

Randomly choose from the database, I think it will be better.
SELECT * FROM `table` ORDER BY RAND() LIMIT 1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question