Example #1
0
<?php

include '../cars_api.php';
$cars_api = new Cars_API();
echo $cars_api->getCar($_GET["id"]);
Example #2
0
<?php

include '../cars_api.php';
$cars_api = new Cars_API();
echo $cars_api->getCars();
Example #3
0
<?php

include '../cars_api.php';
$cars_api = new Cars_API();
echo $cars_api->addCar($_GET["type"], $_GET["omschrijving"], $_GET["basisprijs"], $_GET["verbruik"], $_GET["verkbelast"], $_GET["inverkbelast"]);
Example #4
0
<?php

include '../cars_api.php';
$cars_api = new Cars_API();
echo $cars_api->deleteCar($_GET["id"]);