Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function getContent(){
- global $smarty;
- try{
- $isbn = htmlentities($_GET['isbn']);
- var_dump($isbn);
- $gekozenboek = DAODetail::getDetail($isbn);
- $smarty->assign('gekozenboek',$gekozenboek);
- return $smarty->fetch('pages/detail.htm');
- } catch(ResourceException $e){
- $smarty->assign('error',$e->getResourceMessage());
- return $smarty->fetch('pages/error.htm');
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement