-1
I have seen on some websites links that do mysql searches and return results, ie make a mysql query from a link instead of a field.
Assuming the link within the tag to were it so:
href="https://www.meulink.com" name="camisas" >Camisas
The user clicks on the link, the query is made in the database returning the corresponding values:
$sql = "SELECT roupas FROM estoque WHERE roupas='camisas';
$result = mysqli_query($conn, $sql);
if (mysqli_num_rows($result) > 0) {
while($row = mysqli_fetch_assoc($result)) {
echo $row["roupas"]."<br/>";
}
} else {
echo "Nada foi encontrado.";
}
Welcome to Stackoverflow in English, which you have tried to do?
– Guerra