ID: {$row['id']}
"; echo "Nom: {$row['name']}
"; echo "Type: " . mysqli_fetch_array($dbconnect->query('SELECT name FROM type WHERE id="' . $row['type'] . '"'))['0'] . "
"; echo "Localisation: {$row['localisation']}
"; echo "Département: {$row['departement']}
"; echo ""; echo "Retour"; } else { echo "Client non trouvé.
"; } } else { echo "Paramètre ID manquant dans l'URL.
"; } $dbconnect->close(); ?>