File: deletecompanydb.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  Leaflet PHP MySQL Map  >  deletecompanydb.php  >  Download  
File: deletecompanydb.php
Role: Example script
Content type: text/plain
Description: Example
Class: Leaflet PHP MySQL Map
Manage a Leaflet based map with locations in MySQL
Author: By
Last change: DB config
Date: 3 years ago
Size: 229 bytes
 

Contents

Class file image Download
<?php
 
require_once("db.php");
 
$id = intval($_POST['company']);
 
$conn->deleteCompany($id);
?>
<!DOCTYPE html>
<html>
 <head>
  <title>Company deleted</title>
 </head>
 <body>
  <h1>Company has been deleted</h1>
 </body>
</html>


For more information send a message to info at phpclasses dot org.