comparison php/read/addListToMyMap.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
comparison
equal deleted inserted replaced
48:da133c130c1d 49:a67bf725e87b
3 $userID=$_GET['userID']; 3 $userID=$_GET['userID'];
4 $listName=urldecode($_GET['listName']); 4 $listName=urldecode($_GET['listName']);
5 //echo $userID; 5 //echo $userID;
6 //echo $listName; 6 //echo $listName;
7 7
8 include "../../../private/db.php"; 8 include "db.php";
9 $ynrList = "CALL b_setMap_ChangeListName($userID,\"$listName\", \"MyMap\")"; 9 $ynrList = "CALL b_setMap_ChangeListName($userID,\"$listName\", \"MyMap\")";
10 echo $ynrList; 10 echo $ynrList;
11 $results = mysqli_query($link, $ynrList) or exit( mysqli_error( $link )); 11 $results = mysqli_query($link, $ynrList) or exit( mysqli_error( $link ));
12 12
13 13