I have been working on My CMS system and I want add to it the property of read and unread via PHP & MySQl
is this done through session or what and how ?
also I want make user groups with different permissions like edit , delete for users , supervisor , admins .. How this ??
thx traq , I build my own CMS , I want know the idea for making message unread after opening it ..
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 ??
$q = mysql_query(‘UPDATE messages SET read=’1’ WHERE m_id = ‘$id’ “) ;}
You must be logged in to reply to this topic.