Re: [PHP] Do not want Undefined variable message

2004-03-07 Thread Michal Migurski
>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." ---

[PHP] Do not want Undefined variable message

2004-03-07 Thread Manisha Sathe
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