$x=$db->select("SELECT message, username, groupid, mstime FROM b_shout ORDER BY mstime DESC LIMIT 0,15");
friends, as i know this line is to select data from database and as limit defined to 15 so it seects 15 rows.
but i want to select single row inbetween condition without changing anything in this line. likewise i will like to select only one message, how should i do it? hope you got my point.
friends, as i know this line is to select data from database and as limit defined to 15 so it seects 15 rows.
but i want to select single row inbetween condition without changing anything in this line. likewise i will like to select only one message, how should i do it? hope you got my point.
Comment