Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End how to make read & unread property for posts and messages with php& mysql Re: how to make read & unread property for posts and messages with php& mysql

#113080
amis
Participant

are u mean I will make column “read” with two value 0,1
0-> unread & 1->read
and if the reader get page will be turn from 0 to 1 ??

like this

if($_GET){
$q = mysql_query(‘UPDATE messages SET read=’1’ WHERE m_id = ‘$id’ “) ;}