comparison php/read/setThumbState.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 //echo $userID; 3 //echo $userID;
4 $linkList = strval($_GET['list']); 4 $linkList = strval($_GET['list']);
5 //echo $linkList; 5 //echo $linkList;
6 6
7 7
8 include "../../../private/db.php"; 8 include "db.php";
9 9
10 $query1 = "select * from b_thumbstate where UserID= $userID and LinkID in ($linkList) and state <> 0"; //CALL b_setThumbState($userID, $linkList)"; 10 $query1 = "select * from b_thumbstate where UserID= $userID and LinkID in ($linkList) and state <> 0"; //CALL b_setThumbState($userID, $linkList)";
11 //echo $query1; 11 //echo $query1;
12 $data1 = mysqli_query($link, $query1); 12 $data1 = mysqli_query($link, $query1);
13 13