PHP Classes

File: addstreetdb.php

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

Contents

Class file image Download
<?php
require_once("db.php");
$street = strip_tags( $_POST['street'] );
$geo = strip_tags( $_POST['geo'] );
$keywords = strip_tags( $_POST['keywords'] );

 
$conn->addStreet( $street, $geo, $keywords);

?>
<!DOCTYPE html>
<html>
 <head>
  <title>Street added</title>
 </head>
 <body>
  <h1>Street has been added</h1>
 </body>
</html>