I am including a php file in when a mysql query is failed. That included file is not working. Following is the snippet which is not working. Please check.

```
$countsql2='SELECT * from table_name';

$countsql3 = mysqli_query($mysqli, $countsql2) or die("
  <div id='fail_container'>
    <div id='fail_grid'>
      <span class='searched_invalid'>There seems to be an issue with the server connectivity.Please Try again later.</span><br />
      <span class='searched_invalid'>We have an option to check out the categories here</span>  
    </div>
  </div>"
include 'file1.php');

```

I want to show included php file when query is failed. But when I remove the include part in die part, it runs fine. But I want to run it with include php file. 

Please help me in correcting this or if it can be done in some other way.