Could you give me a help, I have a table where I need to show the total values, in case you add all the values that are in the database and show in the table. My table calls ads and the value column calls (value).
<tr>
<th style="text-align:center;">Valor Total:<?php
$sql = $pdo->prepare("SELECT * FROM anuncios WHERE valor = :valor");
?></th>
</tr>