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-Methods: GET, POST');
|
||||||
header("Access-Control-Allow-Headers: *");
|
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:
|
### Bronnen:
|
||||||
* https://www.w3schools.com/php/php_mysql_select.asp Voor data opvragen uit database
|
* https://www.w3schools.com/php/php_mysql_select.asp Voor data opvragen uit database
|
||||||
|
Reference in New Issue
Block a user