- or download this
$db->query(
'SELECT * from thistable WHERE position <= ?',
$position )->flat()
- or download this
$db->query(
'SELECT * from thistable WHERE position - 1 <= ?',
$position )->flat();
- or download this
$position = 500;
...
'SELECT position from thistable WHERE position <= ?',
$position )->flat()
- or download this
$position = 500;
...
'SELECT position from thistable WHERE (position-1+1) <= ?',
$position )->flat()
- or download this
$db->query(
"SELECT position from thistable WHERE (position- ?) <= 500", 1 )->flat
+()