Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 605db5a738
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (13 sloc) 0.245 kb
<?php
function db_connect()
{
$result = new mysqli('localhost', 'root', 'JustForFun', 'bob_world');
if (!$result)
{
throw new Exception('Could not connect to database server');
}
else
{
return $result;
}
}
Jump to Line
Something went wrong with that request. Please try again.