poopinthescoop Posted February 24, 2012 Share Posted February 24, 2012 Hey guys, I have a question that you can hopefully help me with, I'm writing a simple forum, and I'm wondering how I would go by handling a thread that has been 'stuck' so that it isn't moved when more threads are made. I could use some a push in the right direction thanks. Link to comment https://forums.phpfreaks.com/topic/257716-sticky-logic/ Share on other sites More sharing options...
kicken Posted February 24, 2012 Share Posted February 24, 2012 Just have a column in your table that indicates whether a thread is stuck or not. When you pull the list of threads sort by that column so the stuck threads come first. Link to comment https://forums.phpfreaks.com/topic/257716-sticky-logic/#findComment-1320890 Share on other sites More sharing options...
poopinthescoop Posted February 24, 2012 Author Share Posted February 24, 2012 Thanks kicken! Link to comment https://forums.phpfreaks.com/topic/257716-sticky-logic/#findComment-1320910 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.