Re: CakePHP Undefined variable
| From: | chris smith | Date: | Sat, 01 Apr 2006 04:32:08 +0000 |
| Subject: | Re: CakePHP Undefined variable | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233033@lists.php.net to get a copy of this message | ||
On 4/1/06, Pham Huu Le Quoc Phuc <phucphlq@dsp.com.vn> 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/