jaikar Posted February 19, 2007 Share Posted February 19, 2007 Hi is there any syntax to move previous one record in mysql database. also this query select * from people where contactid > $rec_id limit 1 .. what the limit 1 means ?? is it mandatory to give the limit 1 or is there any advantage to give limit 1 ?? Thanks in advance !! ~J Link to comment https://forums.phpfreaks.com/topic/39134-solved-how-to-move-previous-one-record/ Share on other sites More sharing options...
ted_chou12 Posted February 19, 2007 Share Posted February 19, 2007 limit 1 means that the script will automatically retrieve only one row/result from the whole table where "contactid > $rec_id" as your code shows. Ted Link to comment https://forums.phpfreaks.com/topic/39134-solved-how-to-move-previous-one-record/#findComment-188495 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.