I am a beginner so my question is probably toooo easy for you
please someone help me
I am using dreamweaver to create a new website.
i am trying to host a new website on a shared server.
i created a new database and tables using phpmyadmin.
i connected to the database using dreamweaver and i created a new page called firsttest.php and saved it in public_html/php then i created a new recordset and tried to link it to firsttest.php
when i ran on the hosting server i got this error:
Warning: main(../Connections/test.php) [
function.main]: failed to open stream: No such file or directory in
/home/som3aa/public_html/php/firsttest.php on line
1
Fatal error: main() [
function.require]: Failed opening required '../Connections/test.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/som3aa/public_html/php/firsttest.php on line
1
test is the name of my database
The problem is that it can't locate the database itself, i don't know where is it stored (i just created it with phpmyadmin).
in cpanel i opened php pear.
it says
You will need to add /home/som3aa/php to the include path.
You can do this by adding the following code to your script: ini_set("include_path", '/home/som3aa/php:' . ini_get("include_path") );
all i need to do is type in firsttest.php {Recordset1.Username} for example and i want it to read the name from the database instead it gives me an error that it can't locate the databasePlease guys someone help meThanx in advance guys