Cool!

Now we've got to start putting bits back in until we find out what is causing the error.

Change this:

PHP Code:
if ($status == 1) {  
  echo 
"All Good"

to this:

PHP Code:
if ($status == 1) {  
  require_once(
"categoryfinder.php");  
  
$categoryFinder = new CategoryFinder;  
  
$category $categoryFinder -> getCategory();  
                  
  
$response['validation'] = "pass";  
  
$response['message'] = "Thanks for joining the e-mail list, <b>" $name "</b>, under the e-mail address, <b>" $confirmEmail "</b>.";
  
  echo 
json_encode($response);

What do you see on the console?