Mercurial > hg > ywww
view php/read/map/regenerateMyMap.php @ 54:a04fc91bbd95
avoid warning on boolean
| author | Charlie Root |
|---|---|
| date | Fri, 07 Jun 2019 16:35:16 -0400 |
| parents | a67bf725e87b |
| 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 )); ?>
