$neededFields = array(
'user_id' => null,
'news_id' => null
);
$_POST = array_merge($neededFields, $_POST);
+--------------------------------------+
| id | cat_id | status |
+--------------------------------------+
SELECT * FROM `cat_statuses` as cs
RIGHT JOIN `test_b` as tb ON (as.cat_id = tb.services)
WHERE cs.cat_id=4;