execute('SELECT * FROM `paginas` WHERE `p_actief` = "1" AND `paginaID` = "1" LIMIT 1;'); if($sql->numrows==1){ $sql->results(); $pagina = $sql->data; printf('

%1$s

' . '%2$s', /* 1 */ utf8_encode(stripslashes($pagina[0]['p_titel'])), /* 2 */ utf8_encode(stripslashes($pagina[0]['p_kern']))); } $sql->execute('SELECT * FROM `paginas` WHERE `p_actief` = "1" AND `paginaID` = "4" LIMIT 1;'); if($sql->numrows==1){ $sql->results(); $pagina = $sql->data; printf('%2$s', /* 1 */ utf8_encode(stripslashes($pagina[0]['p_titel'])), /* 2 */ utf8_encode(stripslashes($pagina[0]['p_kern']))); } ?>


Photographer : Leske
Date : 15 November 1960
Location : Feuilleton


Photographer : Leske
Date : 15 November 1960
Location : Feuilleton

execute('SELECT * FROM `paginas` WHERE `p_actief` = "1" AND `paginaID` IN (2,3) LIMIT 2;'); if($sql->numrows==2){ $sql->results(); $pagina = $sql->data; for($i=0; $i<2; $i++){ printf('

%1$s

' . '%2$s', /* 1 */ utf8_encode(stripslashes($pagina[$i]['p_titel'])), /* 2 */ utf8_encode(stripslashes($pagina[$i]['p_kern']))); } } ?>