<?php
include_once './authorQuoteClass.php';
$author=new authorQuoteClass();
$authorid=5;
$key="";
$obj=$author->getAuthorQuote($authorid,$key);
$alert="API Status - ".$obj->{"alert"}."</br>";
$alert.="Author Name - ".$obj->{"AuthorName"}."</br>";
$alert.="Author Id - ".$obj->{"AuthorId"}."</br>";
$alert.="Author Quote - ".$obj->{"Quote"};
print_r($alert);
|