I am attempting to connect to the database. I don't know what is wrong with this code?
Fatal error: Failed opening required 'cis-test/cis_connect.php' (include_path='./:/usr/local/lib/php') in /home/booa88/blaffffffdia-www/cis-test/Barriersquestions.php on line 18
Do I have the wrong path for the database I want to connect to?
This is the script in my connection script php page:
11 DEFINE (DB_USER, "xxxxxx");
12 DEFINE (DB_PASSWORD, "xxxxxx");
13 DEFINE (DB_HOST, "localhost");
14 DEFINE (DB_NAME, "xxxxxxxxxxx_com");
15 # display_members.php
16 $connection=mysql_connect(DB_HOST, DB_USER, DB_PASSWORD);
This is the code where my php page calls the connect php page
17 //Include the MySQL information
18 require_once ("cis-test/cis_connect.php");
19 $db=mysql_select_db(DB_NAME);
I am new to this but not to programming. Any suggestions?
Thanks
sincerely,
Sonac😕