> and am trying to use it in this links3.php > > <?php > include('functions.php') or die (mysql_error()); > ?> > > but I keep getting the error message > *Warning*: main(1): failed to open stream: No such file or directory in > *C:\Accounts\dbadream\wwwRoot\links3.php* on line *4* > *Warning*: main(): Failed opening '1' for inclusion > (include_path='.;c:\php4\pear') in > *C:\Accounts\dbadream\wwwRoot\links3.php* on line *4* > > Can anyone explain what is wrong. Both files are in the same directory > and and both have the normal permissions set to access. try the absolute path and try require_once() instead of include(). Also "or die (mysql_error());" is not going to get you anything. That is the text of the error message from previous MySQL operation. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php