How to create web push notification wen insert data in database with php : <pre><code>&lt;script src='push.min.js' type="text/javascript"&gt;&lt;/script&gt;

    &lt;?php
    require_once 'dbconfig.php';
      $task = $db_con-&gt;prepare('SELECT * FROM table WHERE  notification = "unread"');
      $task-&gt;execute();
      while($rows=$task-&gt;fetch(PDO::FETCH_ASSOC))
{
  ?&gt;
</code></pre>


    Push.create("title", {
    body: "Add deposit",
    icon: 'icon',
    link: 'link',

});



