Having trouble with malformed json?
I am having a problem with php and jquery. My php seems to be malformed. I can't get my login form to work with anything newer than 1.3.2.
I have changed my php to use double quotes instead of single quotes but I am having a problem with this line:
echo "{\"status\":false, \"message\":' ".$acl->form()." '}"
It works fine for 1.3.2 but not anything newer.
I have tried this but it doesn't work at all:
echo ("{\"status\":false, \"message\":\"".$acl->form()."\"}");
Any help would be appreciated.
Thanks,
Tony