limit the use of php training

SQL $ = "Goods from the SELECT * by the Order. price desc limit 0,3" ; go in front of three 

$ SQL = "Goods from the SELECT * by the Order. price desc limit 3, 3" ; go in front of three 

$ SQL = "Goods from the SELECT * . price desc limit 6,3 by the Order " ; go in front of three 

$ SQL =" Goods from the SELECT * by the Order. price desc limit 9,3 " ; go in front of three 

(the n- . -1) * 3 is his law principle paging solved the

 

// reverse order display 3

 

It can be used for paging, following talk about his works:

 

Guess you like

Origin www.cnblogs.com/xm666/p/11201367.html