PHP Classes

File: updatestreet.php

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


Class file image Download

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

$conn->updateStreet( $id, $geo, $keywords);
<!DOCTYPE html>
  <title>Street updated</title>
  <h1>Street has been updated</h1>

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