Spring 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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/257716-sticky-logic/#findComment-1320890 Share on other sites More sharing options...
Spring Posted February 24, 2012 Author Share Posted February 24, 2012 Thanks kicken! Quote Link to comment https://forums.phpfreaks.com/topic/257716-sticky-logic/#findComment-1320910 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.