Jump to content

New Post?


I Am Java

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.