I'm new to web programming and I'm having trouble creating a CRUD, the insert worked OK, but the next step is that SELECT is not running as it should and I'd like you to help me see which one is being my mistake. I'm doing this:
<?php
$conect = mysqli_connect('127.0.0.1','root','');
$db = mysqli_select_db($conect, 'Crud');
$query_select = "SELECT altura, cpf, endereco, nascimento, nome, peso FROM Cliente";
$select = mysqli_query($conect, $query_select);
$fetch = mysqli_fetch_row($select);
while ($fetch = mysqli_fetch_row($select)) {
echo "<p>".$fetch[0]."</p>";
}
?>