Php 检查消息是否已读和未读
我希望根据id进行更新。在前端级别,此id未获得..如何将此id传递给conroller..如果我阅读收件箱邮件,我也希望更改收件箱字体样式。阅读邮件收件箱:Php 检查消息是否已读和未读,php,mysql,joomla,Php,Mysql,Joomla,我希望根据id进行更新。在前端级别,此id未获得..如何将此id传递给conroller..如果我阅读收件箱邮件,我也希望更改收件箱字体样式。阅读邮件收件箱: 1. Add new field in inbox message table named `is_read` type `int`. 2. And write a select query to select is_read and check whether it is 0 or 1. 3. If 'is_rea
1. Add new field in inbox message table named `is_read` type `int`.
2. And write a select query to select is_read and check whether it is 0 or 1.
3. If 'is_read' = 0 write a CSS style and if 'is_read' = 1 write a different CSS style for the font.
4. And you can fix your self 0 as unread and 1 as read.
5. Then write a update query for 'is_read' as 1 , When selecting the inbox message.
什么是rcp_id_?专栏?