PHP Classes

File: updatearea.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   Leaflet PHP MySQL Map   updatearea.php   Download  
File: updatearea.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: 6 years ago
Size: 318 bytes


Class file image Download

$id = intval($_POST['area']);
$geo = strip_tags($_POST['geo']);
$keywords = strip_tags($_POST['keywords']);

$conn->updateArea( $id, $geo, $keywords);

<!DOCTYPE html>
  <title>Area updated</title>
  <h1>Area has been updated</h1>