Re: I don't know what I'm doing wrong
| From: | John Harris | Date: | Fri, 12 Sep 2008 02:48:37 +0000 |
| Subject: | Re: I don't know what I'm doing wrong | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29031@lists.php.net to get a copy of this message | ||
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