This has been really pissing me off. I'm using error_reporting(15), and whenever I try to call on an array, I get this error:
Warning: Use of undefined constant field - assumed 'field' in filename on line x
WTF!!!!!!! Why the hell am I receiving this error!!!!:
The code:
if (isset($HTTP_COOKIE_VARS[cookie])) {
print "test";
} elseif (isset($login)) {
print "test2";
} else {
print "test3";
}
Warning: Use of undefined constant field - assumed 'field' in filename on line x
WTF!!!!!!! Why the hell am I receiving this error!!!!:
The code:
if (isset($HTTP_COOKIE_VARS[cookie])) {
print "test";
} elseif (isset($login)) {
print "test2";
} else {
print "test3";
}
Comment