0
I am unable to show the column count in the database. For example I want to show in the panel how many orders are registered. For this I want the ID count.
include 'conexao.php';
$pedidosq = "SELECT id FROM pedido";
$pedidos = mysqli_num_rows($pedidosq);
To display I give an echo,
<?php echo $pedidos ?>
However, nothing appears. The connection to the database is Ok.
Exactly. I noticed immediately after posting. I fixed it and it’s perfect. Thank you!
– Paiano