Jasper Howard wrote:
it seems possible that this is the problem, you called it,
"checkLoggedIn()" in your script then tried to call,
"checkloggedin()". Notice the caps aren't there when you tried to call
it.
Case does not matter for functions. Only for variable names.
--
PHP General Mailing List (h
> Do you have in functions.lib ?
>
>
>
> -Original Message-
> From: Andrew W [mailto:[EMAIL PROTECTED]
> Sent: 02 October 2004 16:52
> To: php-gen
> Subject: [PHP] Including function libraries
>
> Ok, I've got a file called functions.lib which cont
Do you have in functions.lib ?
-Original Message-
From: Andrew W [mailto:[EMAIL PROTECTED]
Sent: 02 October 2004 16:52
To: php-gen
Subject: [PHP] Including function libraries
Ok, I've got a file called functions.lib which contains the following:
function checkLog
Ok, I've got a file called functions.lib which contains the following:
function checkLoggedIn()
{
return (true);
}
function Test ($x)
{
return ($x * $x);
}
and a file called test.php which contains the following:
include 'functions.lib';
if (checkLoggedIn())
{
print "Logged
4 matches
Mail list logo