aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'client.php')
-rw-r--r--client.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/client.php b/client.php
index 56313ae..2245f61 100644
--- a/client.php
+++ b/client.php
@@ -21,8 +21,13 @@
echo "Job sent, handle was ".$handle." - hash ".$handlehash."\n";
- $db = new mysqli(MYSQL_HOSTNAME, MYSQL_USERNAME,
- MYSQL_PASSWORD, MYSQL_DATABASE);
+ $db = new mysqli(
+ MYSQL_HOSTNAME,
+ MYSQL_USERNAME,
+ MYSQL_PASSWORD,
+ MYSQL_DATABASE
+ );
+
if (mysqli_connect_errno()) {
die("Could not connect to database ".mysqli_connect_error());
}