File: ajax.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  Leaflet PHP MySQL Map  >  ajax.php  >  Download  
File: ajax.php
Role: Example script
Content type: text/plain
Description: Search results via AJAX
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: 149 bytes
 

Contents

Class file image Download
<?php
 
require_once("db.php");
 
$keyword = strip_tags( $_GET['keyword'] );
 
$jsonData = $conn->getSearchResults( $keyword );
  print
$jsonData;
?>


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