I Am Java Posted June 13, 2010 Share Posted June 13, 2010 Alright, so I have an idea of how to get whether or not a post is new, but I can't seem to figure out how to actually select posts from a DB while in an array. My idea was to put the member ID in the read column of the post table once they viewed a thread, which would look like this: 1;2;3;4;. Now, how would I search for 2 while in that array? Thanks. Link to comment https://forums.phpfreaks.com/topic/204616-new-post/ Share on other sites More sharing options...
I Am Java Posted June 13, 2010 Author Share Posted June 13, 2010 Alright, so I have an idea of how to get whether or not a post is new, but I can't seem to figure out how to actually select posts from a DB while in an array. My idea was to put the member ID in the read column of the post table once they viewed a thread, which would look like this: 1;2;3;4;. Now, how would I search for 2 while in that array? Thanks. Link to comment https://forums.phpfreaks.com/topic/204616-new-post/#findComment-1071324 Share on other sites More sharing options...
I Am Java Posted June 13, 2010 Author Share Posted June 13, 2010 I thought I was editing that post, didn't realize I posted again. Where is the edit button? Ok, how do I delete these two posts? LOL. Link to comment https://forums.phpfreaks.com/topic/204616-new-post/#findComment-1071331 Share on other sites More sharing options...
kenrbnsn Posted June 13, 2010 Share Posted June 13, 2010 You can only edit a post for up to 10 minutes after you post it originally. You can not delete a post. Ken Link to comment https://forums.phpfreaks.com/topic/204616-new-post/#findComment-1071348 Share on other sites More sharing options...
I Am Java Posted June 13, 2010 Author Share Posted June 13, 2010 You can only edit a post for up to 10 minutes after you post it originally. You can not delete a post. Ken I see.. so any answers to my question? I am hoping for a simple answer, I don't really want to clog the forum script even more with more queries and PHP. (Going for minimal.) Link to comment https://forums.phpfreaks.com/topic/204616-new-post/#findComment-1071351 Share on other sites More sharing options...
I Am Java Posted June 13, 2010 Author Share Posted June 13, 2010 One bump before I go to bed. Hopefully there is a simple solution to this. (I don't need a full script, I just need somewhere to start at least.) Link to comment https://forums.phpfreaks.com/topic/204616-new-post/#findComment-1071381 Share on other sites More sharing options...
I Am Java Posted June 13, 2010 Author Share Posted June 13, 2010 Bump? Link to comment https://forums.phpfreaks.com/topic/204616-new-post/#findComment-1071497 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.