w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Reason for Undefined class constant NOTICE in PHP (Use of undefined constant)

See the difference define() vs const

You must be using the PAYMENT_ERROR outside the class.

If you want to do so use the define().

This will do the job.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.