Mercurial > hg > ywww
view php/read/map/regenerateMyMap.php @ 6:077b0a0a3e6d
remaining originals according to dependency walk
author | Robert Boland <robert@markup.co.uk> |
---|---|
date | Thu, 16 Feb 2017 22:29:02 +0000 |
parents | |
children | 385ddd7c4b55 a67bf725e87b |
line wrap: on
line source
<?PHP $UserID = $_GET['user']; if(isset($_GET['loc'])){ $loc = $_GET['loc']; } else{ $loc = 0; //default location is 1 } if(isset($_GET['listname'])){ $listName = $_GET['listname']; } else{ $listName = "MyMap"; //default map } include "../../../../private/db.php"; $queryDel = "CALL b_deleteUserMap($UserID, $loc,\"$listName\")"; $results1 = mysqli_query($link, $queryDel) or exit( mysqli_error( $link )); include "../../../../private/db.php"; $query1 = "CALL b_setupUserMap($UserID, $loc,\"$listName\")"; $results1 = mysqli_query($link, $query1) or exit( mysqli_error( $link )); ?>