include file
Hello,
I have a.php that includes functions.php and b.php that also uses
some function in functions.php as follows.
<? php
include("functions.php");
include ("b.php");
?>
For some reason, I got error message "somefunction() not found"
originated from b.php when I ran a.php. When I tried to ALSO include
functions.php in b.php, I got error message
Fatal error: Cannot redeclare somefunction() (previously declared in
functions.php. What am I missing? Thanks.
.
Relevant Pages
- Re: Parser Error Message: Server tags cannot contain <% ... %> constructs.
... "Neil Zanella" wrote in message ... > The reason I would like to do this is twofold: ... > In PHP, this would have been possible using the PHP_SELF variable. ... > However, when using ASP.NET, IIS issues the following error message, ... (microsoft.public.dotnet.framework.aspnet) - Parser Error Message: Server tags cannot contain <% ... %> constructs.
... The reason I would like to do this is twofold: ... In PHP, this would have been possible using the PHP_SELF variable. ... However, when using ASP.NET, IIS issues the following error message, ... (microsoft.public.dotnet.framework.aspnet) - Re: include file
... I got error message "somefunctionnot found" ... Cannot redeclare somefunction() (previously declared in ... JDS Computer Training Corp. ... (comp.lang.php) - Re: include file
... For some reason, I got error message "somefunctionnot found" ... Cannot redeclare somefunction() (previously declared in ... (comp.lang.php) - Re: on input form showing error message for duplicate entry.
... | Subject: Re: on input form showing error message for duplicate entry. ... |> same validation in php since not all your visitors/customers will have ... (alt.php) |
|