Since it is a background image it should be contained in an external CSS file, it is not recommended to use CSS files inline:
Code:
.single-slider {
background-image: url('/assets/img/backgrounds/your_example.png');
}
usually what is stored in a database is the file identification, file name, almost always for use in a variable:
<img width="960" src="/assets/img/home/banners/<?= $data1->link ?>.jpg" height="418">
unless the path stored in the DB contains the file format, jpg, png, etc., this is not informed in the given example;
and there is a closing bracket without the corresponding opening bracket and even if it were there it would cause a coding error.
style="
background-image: url('<?= base_url('image_path']); ?>');">