Publish by Sifur Rahaman October 4, 2025, 1:06 pm
To create a notification system, we need to create a database first. Like - db_contact. In the database need to create a table like - tbl_contact. In this table, we need some column fields like - id, message, and status. The initial status value is "0". If the status is "0", that means it is an unread message. We want to count this and display it in the admin dashboard as a notification.
db_contact
tbl_contact
id, message, and status
"0"
count