IF Conditions statement not working in my controller |
Further to ivantcholakov's suggestion, insert the following in the first line of your public function states() {
error_reporting(-1); ini_set('display_errors', 'true'); Both errors and warnings should show and you can change the script. Also str_replace(...); always and only returns a string or error. |
Messages In This Thread |
IF Conditions statement not working in my controller - by ezenna - 05-16-2016, 10:26 AM
RE: IF Conditions statement not working in my controller - by ivantcholakov - 05-16-2016, 02:15 PM
RE: IF Conditions statement not working in my controller - by John_Betong - 05-16-2016, 05:30 PM
RE: IF Conditions statement not working in my controller - by Andy N - 05-17-2016, 08:48 AM
RE: IF Conditions statement not working in my controller - by John_Betong - 05-17-2016, 06:10 PM
|