خرید بک لینک
I wrote this code

PHP Code:

function RunClass($ClassName)

    {
        require(
$_SERVER['DOCUMENT_ROOT'] . '/core/classes/' $ClassName '.php');
    }
     
spl_autoload_register('RunClass'); 

And it works great.
But when I write

PHP Code:

private function __construct()
{
    
$this->_con = new mysqli('localhost''root''''DB');


It attempts to load mysqli

برچسب: نویسنده: آیلین رضوانی تاريخ: شنبه 2 دی 1396 ساعت: 2:57

صفحه بندی