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']}
"; } else { echo "Client non trouvé.
"; } } else { echo "Paramètre ID manquant dans l'URL.
"; } $dbconnect->close(); ?> Retour