>But when i run the testinclude program I always get "Undefined variable
>errro on very first line. I know it is because vars are not defined yet,
>but i remember last time those warnings never used to come. What setting
>is needed in php.ini file ?
Check the manual for "error reporting."
---
I have following code
testinclude.php
<%
echo "A $color $fruit"; // A
include 'vars.php';
echo "A $color $fruit"; // A green apple
%>
vars.php
<%
$color = "green";
$fruit = "Apple";
%>
But when i run the testinclude program I always get "Undefined variable
errro on very first line. I know it is
2 matches
Mail list logo