Mercurial > hg > ywww
comparison php/read/similar.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 |
---|---|
2 | 2 |
3 function dbConnect($go) | 3 function dbConnect($go) |
4 { | 4 { |
5 if($go == 1) | 5 if($go == 1) |
6 { | 6 { |
7 return "../../private/db.php"; | 7 return "../../../private/db_test.php"; |
8 } | 8 } |
9 else | 9 else |
10 { | 10 { |
11 return "../../../private/db.php"; | 11 return "../../../../private/db_test.php"; |
12 } | 12 } |
13 } | 13 } |
14 | 14 |
15 function addAmazonSimilarBooks($isbn1, $loc, $go) | 15 function addAmazonSimilarBooks($isbn1, $loc, $go) |
16 { | 16 { |