-1
Hello
I wanted to know how to count the average users created per day.
For example:
SECOND Average of 3 customers TUESDAY Average of 4 customers FOURTH Average of 3 customers
and per day
LAST SEVEN DAYS We have an average of 5 customers created per day.
I have no idea where to start.
Currently to count the number of customers I use this code:
//Selecionar todos os clientes da tabela
$query = "SELECT * FROM `clientes`";
$result = mysqli_query($con, $query);
//Contar o total de cursos
$total_cursos = mysqli_num_rows($result);
How would the DATA field be? because I did according to what you said and only results in the number 1
– Tena Andrade
thanks in advance for the help
– Tena Andrade