</div> </head> <body> <div class = "content"> <?php $vehicle = new VEHICLE($MYSQL_HANDLE); if (!isset($_GET['id'])) { if (isset($_POST['btn-searchveh'])) { $numplate = trim($_POST['inp_numplate']); $vehicle->printVehicles($numplate); if (isset($_GET['p'])) { if ($_GET['p'] == "delstock") { $vehicle->deleteVehicle($numplate); } } } ?> <div class = "container"> <div class = "form-container"> <form method = "post"> <h2>Search</h2> <hr/> <div class = "form-group"> <input type = "text" class = "form-control" name = "inp_numplate" placeholder = "Number plate" value = "<?php if (isset($numplate)) { echo $numplate; }