DB query done for content.php