我希望更新基于id_ .in前端级别此id没有得到..如何将此ID传递给conroller ..同样的事情如果我读取收件箱消息我想更改收件箱字体样式。
答案 0 :(得分:2)
阅读邮件收件箱:
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.