K
K
khodos_dmitry2018-03-03 16:38:19
MySQL
khodos_dmitry, 2018-03-03 16:38:19

How to set a sum in MySQL LIMIT?

Is it possible to do something like this:
SELECT * FROM `table` LIMIT $limit+3
Gives an error.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2018-03-03
@Azperin

so if $limit is a variable, then plus before the request.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question