Re: CakePHP Undefined variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/1/06, Pham Huu Le Quoc Phuc <phucphlq@xxxxxxxxxx> wrote:
> Hi everyone!
> I use CakePHP. I found an error. Could you help me to deal this error.
>
> Notice: Undefined variable: missing in
> c:\Inetpub\wwwroot\Cake\app\views\errors\missing_controller.php on line 18

You're trying to use a variable that isn't set yet:

<?php

echo "my favourite colour is $colour<br/>";

?>

You need to set your variable ('missing') before using it.

--
Postgresql & php tutorials
http://www.designmagick.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux