Re: Notice: Undefined variable: link in
| From: | sven | Date: | Mon, 04 Aug 2003 10:08:50 +0000 |
| Subject: | Re: Notice: Undefined variable: link in | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21010@lists.php.net to get a copy of this message | ||
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