Reputation: 1331
I define/initialize the constant like this in my code:
if(!define('CHECKLIST'))
{
define("CHECKLIST",FALSE);
}
But it doesn't work and I got a warning error.
Warning: define() expects at least 2 parameters, 1 given in PHP
Upvotes: 0
Views: 398