Re: [PHP4BETA] Warning: Use of undefined constant
| From: | Teodor Cimpoesu | Date: | Tue, 22 Feb 2000 14:28:08 +0000 |
| Subject: | Re: [PHP4BETA] Warning: Use of undefined constant | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10642@lists.php.net to get a copy of this message | ||
Vadim Tkachenko wrote:
>
> When I using follow construction
>
> $menu3["admin"]=array(
> array(
> image=>"toolbar_files/admin_n.gif",
> text=>"admin"),
> array(
> image=>"admin_files/order_quote",
> text=>"order/quotes",
> ahref=>"/orders.phtml"))
> I get
>
> Warning: Use of undefined constant image - assumed 'image' in menu.inc on
> line 142
[...]
which is right.
either enclose them in single/double quotes or
lower your error reporting level.
--
CIMPOESU Teodor, Web Programmer
@ DIGICOM S.A. Bucharest, Romania
@ Internet, site development
@ see http://internet.digiro.net/