comparison php/read/setThumbState.php @ 15:385ddd7c4b55 testing

use test_db.php to get mysqld_test instance
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sun, 19 Feb 2017 16:17:53 +0000
parents 077b0a0a3e6d
children
comparison
equal deleted inserted replaced
14:1477b5e6dd16 15:385ddd7c4b55
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 "../../../../private/db_test.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