I have a field of type date in mysql, the problem is that I can not retrieve it, by selecting it and printing only the name of it appears (date).
$dados = mysqli_query($conexao, "SELECT 'data' FROM tabela");
$res_data = mysqli_fetch_array($dados);
echo $res_data[0];
Output --- data
.