Bruno Ferreira Bruno Ferreira - 1 year ago 112
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 Source

Try this:

<?php include '../bd.php';?>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download