I'm working on a website and I wanted to use __DIR__
to bring the database connection, but it turns out that by using it the whole web is blank, why can this happen?
<?php
include __DIR__.'../include/cont_db.php';
?>
I'm working on a website and I wanted to use __DIR__
to bring the database connection, but it turns out that by using it the whole web is blank, why can this happen?
<?php
include __DIR__.'../include/cont_db.php';
?>