I have the following code which I want to show all the people of the same day, I have managed to show it but it shows me only the same id. What can I be doing wrong?
$mm=date('M');
$dd=date('d');
$strConsulta = "SELECT id FROM user WHERE mes='$mm' AND dia='$dd' ";//error_reporting(0);
$result = $conexion->query($strConsulta);
while( $row = $result->fetch_array() )
{
//aqui valores
}