Re: I don't know what I'm doing wrong

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11 Sep 2008 14:45, Daniel Wagner wrote

> (This is my connections.php) 
> 
> <?php
[snip]
> $db          =   mysql_select_db($database, $link);
> ?>
> 
> (And this is my practice.php)
> 
> <?php
> require_once("Connections/connection.php");  //database connection
> 
[snip]
> When I try to view the page I get this back:
> 
> Warning: require_once(Connections/connection.php) [function.require-once]:
> failed to open stream: No such file

I can't see a problem if your connection.php file is located off the 
practice.php folder.

C:\wamp\www\WebRoot\Test\Images\Connections\connection.php

In which folder is the connection.php file located?

-John


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux