Witam,
mam tak błahy problem, że aż szkoda zakładać nowy temat, ale nie mam pojęcia co jest nie tak.
<?php
$result = "a" ;
echo '<a href="zdjecia/'.$result.'.jpg" data-lightbox="roadtrip"><img class="example-image" width="150" height="150" alt="thumb-1" src="zdjecia/'.$result.'.jpg"></a>';
?>
Ten kod wyświetla mi tekst:"thumb-1';?> zamiast miniaturki obrazka.
Po zmianie $result na "a" wszystko jest ok.
Ktoś wie co jest nie tak?