Nickster
-
Posts
1 -
Joined
-
Last visited
Never
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
PHP Errors and a Possible Solution?
in PHP Coding Help
Posted
Here's the error:
[client **.**.*.**] PHP Notice: Use of undefined constant MSG_ADD - assumed 'MSG_ADD' in /var/www/ASG/lib/messages.php on line 5
And here is the way MSG_ADD is defined in messages.php
define(MSG_ADD,'Record Added Successfully.');
I was wondering if I change the code to this:
define('MSG_ADD','Record Added Successfully.');
would that correct the errors? Their are about 150 times that Define is used in messages.php and I want to be sure that, that solution would correct the problem before I go in and change things around? Thanks