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
November 1, 2012 at 12:51 am
#113080
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’ “) ;}