Good, I'm trying to put the pictures on the slide, but the apostrophe is breaking, where is the error? edited below the summary after the tests that I did even using the \.
meu codigo atual
echo "<div class='fill' style='background-image:url(\'img/{$exibe[0]->idnoticia}/{$exibe[0]->imagem}\');'></div>";
codigo de exemplo do bootstrap
<div class="fill" style="background-image:url('http://placehold.it/1900x1080&text=Slide One');"></div>
codigo exibido pelo browser
<div class="item active"><div class="fill" style="background-image:url(\" img="" 22="" 1429033737_screenshot_11.jpg\');'=""></div>
I really do not understand what happens if someone can give a light so remembering that this way works, but would like to know the above error
<div class="fill" style="background-image:url('img/<?php echo "{$exibe[0]->idnoticia}/{$exibe[0]->imagem}"; ?>');"></div>