I have this error message..try to extends class but nothing helps..in database.php i have function getConnection()
<?php
require_once 'database.php';
class userClass {
/* User Login */
public function userLogin($username, $password) {
try{
$db = getConnection();
Fatal error: Uncaught Error: Call to undefined function getConnection()