I have created a custom module which contains the hook_block_view and inside that I'm calling a function which only has this code ( the data.php only contains html and php to print a table ):
include_once DRUPAL_ROOT . '/files/data.php';
Then I create the page inside drupal GUI and in the content section I select my custom view from the module mentioned above. When I load the page it just shows nothing.
but with the same result.
PS: the files folder is in drupal root folder.