update, duplicate

This commit is contained in:
Burak
2024-03-12 12:01:42 +01:00
parent 0df6b09b6d
commit 4441de32be
4 changed files with 94 additions and 21 deletions

View File

@@ -105,8 +105,15 @@
</article>
</section>
</section>
<script>
// JavaScript-code om gegevens op te halen van het PHP-bestand
fetch('get_data.php')
.then(response => response.json())
.then(data => {
document.getElementById('totale_planten').innerHTML = data.totale_planten;
// Voeg andere velden toe op dezelfde manier
})
.catch(error => console.error('Error:', error));
</script>
</body>
</html>
</body>
</html>
</html>