Added documentation about php
This commit is contained in:
@@ -64,6 +64,12 @@ header('Access-Control-Allow-Origin: *');
|
||||
header('Access-Control-Allow-Methods: GET, POST');
|
||||
header("Access-Control-Allow-Headers: *");
|
||||
```
|
||||
Op deze manier haal je de laatst gegeneerde id op van de database
|
||||
```php
|
||||
$last_id = $conn->insert_id;
|
||||
```
|
||||
|
||||
|
||||
---
|
||||
### Bronnen:
|
||||
* https://www.w3schools.com/php/php_mysql_select.asp Voor data opvragen uit database
|
||||
|
Reference in New Issue
Block a user