//This is a pdo class
class DBConnection {
public function connect() {
$dbHost = "localhost";
$dbName = "$databaseName";
$dbPassword = "";
$dbUsername = "root";
$conn = new PDO("mysql:host=$dbHost;dbname=$dbName",$dbUsername,$dbPassword);
return $$conn;
}
}