php - Select second last row of database -
for school project i'm making web portfolio. on site i'm using subject: "projects" on site these 3 colums. question generated them last 3 rows database, can't fixed. can body me?
what need select last second row database can display in portfolio
select * [table name] 1 order id desc limit 1,1 ;
where id can auto increment primary key of table. mysql query syntax
Comments
Post a Comment