undefined constant alert on a field !
From: m a r k u s (tp950138101_at_tpt.ya.com)
Date: 04/29/04
- Previous message: nospam_at_geniegate.com: "Re: Adding form values"
- Next in thread: m a r k u s: "Re: undefined constant alert on a field !"
- Reply: m a r k u s: "Re: undefined constant alert on a field !"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Apr 2004 02:51:25 +0200
Hi all,
Why the following code
while($banner = mysql_fetch_array($query)) {
print $banner[banner_id];
}
give me the following alert
Notice: Use of undefined constant banner_id - assumed 'banner_id' in
c:\program files...\banner.php on line 29 ???
banner_id is a field from the database and not a constant. How to define a
field ?!!??
Don't understand.
Thanks for any help.
-- m a r k u s
- Previous message: nospam_at_geniegate.com: "Re: Adding form values"
- Next in thread: m a r k u s: "Re: undefined constant alert on a field !"
- Reply: m a r k u s: "Re: undefined constant alert on a field !"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]