diff php/read/updateLink.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
line wrap: on
line diff
--- a/php/read/updateLink.php	Sun Feb 19 16:17:25 2017 +0000
+++ b/php/read/updateLink.php	Sun Feb 19 16:17:53 2017 +0000
@@ -9,7 +9,7 @@
 $userID = strval($_GET['userID']);
 echo $userID;
 
-include "../../../private/db.php";  
+include "../../../../private/db_test.php";  
 
 $pos = 0;
 $neg = 0;
@@ -65,7 +65,7 @@
 	echo $stateQuery;
 	
 	mysqli_close($link);	//do not remove. reset is needed otherwise mysqli_fetch_array doesn't work after first loop
-	include "../../../private/db.php"; 
+	include "../../../../private/db_test.php"; 
 	$stateFinal = mysqli_query($link, $stateQuery) or exit( mysqli_error( $link ));
 }