Re: Notice: Undefined variable: link in
| From: | David Adade | Date: | Tue, 05 Aug 2003 20:27:46 +0000 |
| Subject: | Re: Notice: Undefined variable: link in | ||
| References: | 1 2 3 4 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21026@lists.php.net to get a copy of this message | ||
Thanks
passed that on to the programmer worked a treat
Regards
"Sven" <svenie@gmx.li> wrote in message
news:20030804100630.14931.qmail@pb1.pair.com...
> hi david,
>
> although you can supress those notices in your php.ini, you can correct
your
> syntax errors like this:
>
> AdminMain.php (line 7 and 8)
> old: $tpl->define(array(main => "main.html", middle =>
"AdminScreen.html",
> ...
> new: $tpl->define(array('main' => "main.html", 'middle'
> =>
> "AdminScreen.html", ...
>
> main.php (line 2)
> be sure, that $link is defined before your switch (i.e. if (isset($link))
> ...)
>
> ciao SVEN
>
>