-
-
Save carlosdelfino/770272 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once "lib/spyc.php"; | |
$obj = Spyc::YAMLLoad('videos.yml'); | |
//print_r($obj); | |
foreach($obj as $grupo){ | |
echo "<h1>".$grupo['video']."</h1>"; | |
echo "<h3><strong>Arquivo:</strong>".$grupo['arquivo']."</h2>"; | |
echo "<p>".$grupo['descricao']."</p>"; | |
} | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-video: aula1 | |
arquivo: aula1.flv | |
descricao: "Aula introcutória" | |
-video: aula2 | |
arquivo: aula2.flv | |
descricao: "Aprendendo a mexer no ambiente" | |
-video: aula3 | |
arquivo: aula3.flv | |
descricao: "Usando a acessibilidade" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment