Bruno Ferreira Bruno Ferreira - 5 months ago 24
PHP Question

PHP include directoy: first time using the include

I want to include bd.php to my file inside the folder Cidadao. Like this:

enter image description here

i tried this code:

<?php include 'bd.php';?>


bus this not working.

this is the code.

Answer

Try this:

<?php include '../bd.php';?>