At 22:24 04.04.2003, Mike Tuller said:
[snip]
>fine except inside functions. So if I have the following:
>
>include "/Library/WebServer/includes/database_connection.inc";
>
>function list_search_results()
>{
> // my code that lists search results
>}
>
>
DEFINE instead of just instantiating variables. Constants have global
scope.
> -Original Message-
> From: Mike Tuller [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 12:25 PM
> To: php mailing list list
> Subject: [PHP] Includes confusion
>
>
> I can
I can't figure this out. I have a line where I include a file
include "/Library/WebServer/includes/database_connection.inc";
I want to have this declared in one location, so that I don't have to
change multiple lines if I ever move the application, everything works
fine except inside functions.
3 matches
Mail list logo