Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // second way to get the fields
- // get_group we return an array with all groups and fields of the group
- // the parameter to this function is the name of the group
- $miembros = get_group('miembro');
- // to see how this made the arrangement can use pr($miembros);
- // the way this arrangement is made
- // [index of the group] [field name] [index of the field]
- // for fields image type level but in accordance with the letter "o" to the original image or "t" for thumbnail
- foreach($miembros as $miembro){
- echo $miembro['nombre_miembro'][1]."<br />";
- echo $miembro['puesto_miembro'][1]."<br />";
- echo "<img src='".$miembro['foto_miembro'][1]['t']."'><br /><br />";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement