Guten Morgen an alle im Forum,
var_dump hat alle variablen gezeigt.
Die lösung habe ich mit hilfe von Peter und Flavaslava gefunden.
Jetzt funktioniert es auch.
Folgendes habe ich hinzugefügt bzw. verändert:
1) car_edit_core.php:
HTML-Code:
<input type='hidden' name='id' value='" . $id . "' size='100' placeholder='" . $scarid . "' class='form-control' tabindex='0'>
2)
PHP-Code:
SET
`id` = :id,
`title` = :title,
.......................
`location` = :location WHERE id = :id;
");
$Update->bindValue(":id", $id);
$Update->bindValue(":title", $title);
hinzugefügt
3) bei der add_car_var.php
PHP-Code:
$id = isset($_POST["id"]) ? trim($_POST["id"]) : "";
$title = isset($_POST["title"]) ? trim($_POST["title"]) : "";
ergänzt.
Vielen Dank an alle die mir geholfen haben ;-))