Load checked items into another page
<p>I loaded some articles from the database into a page and I want to load only the checked ones using a checkbox into the next page so I can use to create a newsletter. I tried with a normal JS script but I got stuck not knowing what to do next and how to properly recognize the ones I marked.
`</p>

<pre><code>&lt;?php
   try{
   $bdd = new PDO('mysql:host=localhost;dbname=TestDb;charset=utf8', 'root', 'TestingDb123');
   }
   catch (Exception $e){
           die('Error : ' . $e-&gt;getMessage());
   }

   $result = $bdd-&gt;query('Select Title, Link, Image_Path, pubDate, Description from RSS ');
   ?&gt;

&lt;html&gt;
   &lt;head&gt;
      &lt;link href="style.css" rel="stylesheet" type="text/css"&gt;
      &lt;title&gt;Affichage&lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;
      &lt;div class="recherche"&gt;
   &lt;input type = "text" name="recherche" class ="rech"&gt;
      &lt;/div&gt;&lt;/br&gt;&lt;/br&gt;
   &lt;div class="btnrech"&gt;
   &lt;input type = "button" name="rechercher" value="Rechercher" class="rech"&gt;
   &lt;/div&gt;
   &lt;?php
      while ($donnees = $result-&gt;fetch())
   {
   ?&gt;
      &lt;div class="general"&gt;
         &lt;div class="block"&gt;
            &lt;div class="line"&gt;
               &lt;input class="check" type="checkbox" name="test" value="" id="Selected"&gt;
               &lt;h3 class="titre"&gt;&lt;?php echo $donnees['Title'];?&gt;&lt;/h3&gt;
               &lt;p  class="pubDate"&gt;&lt;?php echo $donnees['pubDate'];?&gt;&lt;/p&gt;
            &lt;/div&gt;
            &lt;div class="line2"&gt;
               &lt;div class="image-article"&gt;&lt;img src="&lt;?php echo $donnees['Image_Path'];?&gt;" width="100%" height=""&gt;&lt;/div&gt;
               &lt;p class="Description"&gt;&lt;?php echo $donnees['Description'];?&gt;&lt;/p&gt;
            &lt;/div&gt;
         &lt;/div&gt;
      &lt;/div&gt;
      &lt;/br&gt;
      &lt;?php
         }
         ?&gt;
      &lt;div class="Bouton"&gt;
         &lt;input type="button" name="confirmer" value="Suivant &gt;&gt;" class="btn"&gt;
      &lt;/div&gt;
   &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>`</p>