Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

[PHP3] Beginner question From: Adnan Bilwani (c-bia1 <email protected>)
Date: 03/22/99

Hi,
Do you know how the include statement in PHP3 works.
 
I tried using it the way they showed it, but it give me an error.
 
 
                                /*INCLUDING IMPORTANT FILES*/
$condition = 1 ;
$file = "hello.php3" ;
include($file) ;
 
It gives me this error
 
Warning: Failed opening 'adnan.php3' for inclusion in
search.php3 on line 13
 
If you know of anything please inform me.. Thanks...

The file hello.php3 only has two lines declaring variables like so::

<?
$login = "ad" ;
$password = "all" ;
?>

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>