resultcode) { case 1: echo "Ok"; break; case 2: echo "Catch All"; break; case 3: echo "Unknown"; break; case 4: echo "Error: ".$j->error; break; case 5: echo "Disposable"; break; case 6: echo "Invlaid"; break; }