Re: [PHP] notice:use of undefined constant: add-assumed 'add' in..........

2004-04-06 Thread John W. Holmes
From: "Andy B" <[EMAIL PROTECTED]> > i have something like this: > if(!empty($_SESSION['add']['start_date']) && !empty($_SESSION['add']['end_date'])..)){ > > and i get the unexpected error: > notice:use of undefined constant: add-assumed 'add' in (filename). Double check your code. In

RE: [PHP] notice:use of undefined constant: add-assumed 'add' in..........

2004-04-06 Thread Jay Blanchard
[snip] i have something like this: if(!empty($_SESSION['add']['start_date']) && !empty($_SESSION['add']['end_date'])..)){ and i get the unexpected error: notice:use of undefined constant: add-assumed 'add' in (filename). dont quite understand why that is since i used other code that i

[PHP] notice:use of undefined constant: add-assumed 'add' in..........

2004-04-06 Thread Andy B
i have something like this: if(!empty($_SESSION['add']['start_date']) && !empty($_SESSION['add']['end_date'])..)){ and i get the unexpected error: notice:use of undefined constant: add-assumed 'add' in (filename). dont quite understand why that is since i used other code that i have