Mercurial > hg > ywww
view php/read/map/regenerateMyMap.php @ 49:a67bf725e87b
put both paths in include_path and depend on that
author | Charlie Root |
---|---|
date | Wed, 16 Jan 2019 13:42:15 -0500 |
parents | 077b0a0a3e6d |
children |
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 "db.php"; $queryDel = "CALL b_deleteUserMap($UserID, $loc,\"$listName\")"; $results1 = mysqli_query($link, $queryDel) or exit( mysqli_error( $link )); include "db.php"; $query1 = "CALL b_setupUserMap($UserID, $loc,\"$listName\")"; $results1 = mysqli_query($link, $query1) or exit( mysqli_error( $link )); ?>