Re: undefined Constant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



bunmi.akinmboni@xxxxxxxxxxx wrote:

Please can someone help me?
I keep getting this messages below yet the memvars are well defined and
loaded with values.

What could be the cause? I will appreciate any help.
Regards,
Bunmi


Notice: Use of undefined constant uploadwka - assumed 'uploadwka' in
C:\Inetpub\wwwroot\nacd\myAccountt.php on line 151
uploadwka

Notice: Use of undefined constant uploadwkb - assumed 'uploadwkb' in
C:\Inetpub\wwwroot\nacd\myAccountt.php on line 152
uploadwkb

Notice: Use of undefined constant uploadwkc - assumed 'uploadwkc' in
C:\Inetpub\wwwroot\nacd\myAccountt.php on line 153
uploadwkc

Notice: Use of undefined constant uploadwkd - assumed 'uploadwkd' in
C:\Inetpub\wwwroot\nacd\myAccountt.php on line 154
uploadwkd

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




somewhere you are using uploadwka as an unquoted string. Probably when accessing an array;


echo $aTest[uploadwka]; // String not oquoted, PHP assumes uploadwka is a constant. It's not, so it generates a warning and default to the value of 'uploadwka';
echo $aTest['uploadwka']; // Correct


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux