Category : bootstrap-4

Data insert & Delete works fine. However, the edit doesn’t update the data. Instead it inserts a new one.. I have INSERT & UPDATE in a single file, made with if conditions: <?php include ("./backend/config/connection.php"); include ("./backend/config/function.php"); if (isset($_POST["traffic_operation"])) { if (isset($_POST["traffic_operation"]) == "Add") { $traffic_doc = ""; if ($_FILES["traffic_doc"]["name"] != "") { $traffic_doc = ..

Read more

This didn’t help: How to resolve the C:fakepath? Nor this: Replace Fakepath with php Not even this: Undefined Index while uploading file The php of data INSERT is working fine with files, but when it comes to "edit" aka UPDATE it shows me C:fakepathphoto.png and in the console these errors: Undefined index: traffic_doc in C:xampphtdocsbackendcasestrafficedit-traffic.php ..

Read more

Possible duplicates: Display image on single bootstrap modal In Bootstrap open Enlarge image in modal I have a table that contains an image, When I click an image it opens a modal but the clicked image is not shown in the modal. Table data: <tr id="<?php echo $row[‘id’]?>"> <td data-target="traffic_doc"> <a href="#" data-toggle="modal" data-target="#bigger_view"> <img ..

Read more