[insert_php]
$url = “http://webapi.suvidya.ac.in/SuvidyaWebsite_WebService.asmx?wsdl”;
$client = new SoapClient($url);
$res = $client->Web_GetCourseMasterByCourseId(array(“CourseId”=>16));
$any = $res->Web_GetCourseMasterByCourseIdResult->any;
$xml = simplexml_load_string($any);
$json = json_encode($xml);
$array = json_decode($json);
$table = $array->NewDataSet->Table;[/insert_php]
$client = new SoapClient($url);
$res = $client->Web_GetCourseMasterByCourseId(array(“CourseId”=>16));
$any = $res->Web_GetCourseMasterByCourseIdResult->any;
$xml = simplexml_load_string($any);
$json = json_encode($xml);
$array = json_decode($json);
$table = $array->NewDataSet->Table;[/insert_php]
Eligibility :
[insert_php]echo !is_object($table->Eligibility) ? $table->Eligibility : “”;[/insert_php]
[insert_php] echo !is_object($table->Introduction) ? $table->Introduction : “”;[/insert_php]
Key Points of Syllabus
[insert_php]
$url = “http://webapi.suvidya.ac.in/SuvidyaWebsite_WebService.asmx?wsdl”;
$client = new SoapClient($url);
$res = $client->Web_GetCourseMasterByCourseId(array(“CourseId”=>16));
$any = $res->Web_GetCourseMasterByCourseIdResult->any;
$xml = simplexml_load_string($any);
$json = json_encode($xml);
$array = json_decode($json);
$table = $array->NewDataSet->Table;
echo !is_object($table->Course_Description) ? $table->Course_Description : “”;[/insert_php]
$client = new SoapClient($url);
$res = $client->Web_GetCourseMasterByCourseId(array(“CourseId”=>16));
$any = $res->Web_GetCourseMasterByCourseIdResult->any;
$xml = simplexml_load_string($any);
$json = json_encode($xml);
$array = json_decode($json);
$table = $array->NewDataSet->Table;
echo !is_object($table->Course_Description) ? $table->Course_Description : “”;[/insert_php]
Objective
[insert_php]
$url = “http://webapi.suvidya.ac.in/SuvidyaWebsite_WebService.asmx?wsdl”;
$client = new SoapClient($url);
$res = $client->Web_GetCourseMasterByCourseId(array(“CourseId”=>16));
$any = $res->Web_GetCourseMasterByCourseIdResult->any;
$xml = simplexml_load_string($any);
$json = json_encode($xml);
$array = json_decode($json);
$table = $array->NewDataSet->Table;
echo !is_object($table->Objective) ? $table->Objective : “”;[/insert_php]
$client = new SoapClient($url);
$res = $client->Web_GetCourseMasterByCourseId(array(“CourseId”=>16));
$any = $res->Web_GetCourseMasterByCourseIdResult->any;
$xml = simplexml_load_string($any);
$json = json_encode($xml);
$array = json_decode($json);
$table = $array->NewDataSet->Table;
echo !is_object($table->Objective) ? $table->Objective : “”;[/insert_php]
[insert_php]
$url = “http://webapi.suvidya.ac.in/SuvidyaWebsite_WebService.asmx?wsdl”;
$client = new SoapClient($url);
$res = $client->Web_GetCurrentAnnualBatchDetailsByCourseId(array(“CourseId”=>16));
$any = $res->Web_GetCurrentAnnualBatchDetailsByCourseIdResult->any;
$xml = simplexml_load_string($any);
$json = json_encode($xml);
$array = json_decode($json);
$table1 = $array->NewDataSet->Table;
if(count($table1) > 1){
echo ‘
$client = new SoapClient($url);
$res = $client->Web_GetCurrentAnnualBatchDetailsByCourseId(array(“CourseId”=>16));
$any = $res->Web_GetCurrentAnnualBatchDetailsByCourseIdResult->any;
$xml = simplexml_load_string($any);
$json = json_encode($xml);
$array = json_decode($json);
$table1 = $array->NewDataSet->Table;
if(count($table1) > 1){
echo ‘
‘;
} else {
echo ‘
‘;
}[/insert_php]
[insert_php]
$url = “http://webapi.suvidya.ac.in/SuvidyaWebsite_WebService.asmx?wsdl”;
$client = new SoapClient($url);
$res = $client->Web_GetCurrentAnnualBatchDetailsByCourseId(array(“CourseId”=>16));
$any = $res->Web_GetCurrentAnnualBatchDetailsByCourseIdResult->any;
$xml = simplexml_load_string($any);
$json = json_encode($xml);
$array = json_decode($json);
$table1 = $array->NewDataSet->Table;
if(count($table1) > 1){
echo ‘
Batch No. | Planned Starting Date | ![]() |
“.(!is_object($table1[$i]->StartDate) ? $table1[$i]->StartDate : “”).” |
---|---|---|
|
‘;
}
else {
echo ‘
Batch No. | Planned Starting Date | |
---|---|---|
![]() |
“.(!is_object($table1->StartDate) ? $table1->StartDate : “”).” | |
|
‘;
}[/insert_php]