$files = glob("../assets/galerias/unidades/curitiba-internacao/*.*");
for ($i=1; $i<count($files); $i++)
{
$num = $files[$i];
$slides = '<img src="'.$num.'" alt="random image" class="img-responsive">';
}
$layout->set("unidade-slides", $slides);
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.