Ville de la météo modifiable
This commit is contained in:
10
ajax/update-city.php
Normal file
10
ajax/update-city.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// Error reporting
|
||||
error_reporting(E_ALL^E_NOTICE);
|
||||
|
||||
// Escaping:
|
||||
$city = $_GET['city'];
|
||||
include '../class/AccueilModules.php';
|
||||
echo AccueilModules::updateModule('weather', array('city'=>$city));
|
||||
|
||||
?>
|
Reference in New Issue
Block a user