I have this code, but what I'm looking for is how to know if the num_rows
is greater than 0, I need that process to be able to send a push notification in WS.
$stmt= $conn->prepare("select Token from usuariosempleados;");
$stmt->execute();
if($stmt->bind_result($Token)->num_rows > 0)
{
echo enviarNotificacion($stmt->fetch(), $msj);
}
else {
echo "-1";
}