I'm having a problem, no matter how hard I try, I can not solve it. The problem is:
<form action="" method="POST">
<div class="containercompras">
<div class="box">
<div class="imgBox">
<img class="imagem" src="images/imgbox1.jpg">
</div>
<div class="descricao">
<div class="contentdescr">
<h2>Sombras</h2>
<p><a href="aaa.php" name="versombras">Ver mais</a></p>
</div>
</div>
</div>
<div class="box">
<div class="imgBox">
<img class="imagem" src="images/imgbox2.jpg">
</div>
<div class="descricao">
<div class="contentdescr">
<h2>Rimel</h2>
<p><a href="">Ver mais</a></p>
</div>
</div>
</div>
In the part where I have to see more supposedly when loading should go to another page and show certain products, I will fetch them from the database. They on the other page works perfectly, I just can not do that by clicking on "See more" go to the other page and show only those products of a single category ..
On the other page I did so for all categories and gave:
<?php
header('Content-Type: text/html;charset=UTF-8');
include("ligabd.php");
if (isset($_POST['sombras'])) {
$procura = "SELECT * FROM produtos WHERE id_categoria='1'";
...
?>