projects; $selected=$projects[0]->name; } $new_url="http://testresults.opnfv.org:80/test/api/v1/projects/".$selected."/cases"; $response = file_get_contents($new_url); $data = json_decode($response); $testcases=$data->testcases; $i=0; $column_str=""; $column_str=$column_str.""; $column_str=$column_str.""; $column_str=$column_str.""; $column_str=$column_str.""; foreach ( $testcases as $testcase ){ $i=$i+1; $column_str=$column_str.""; $column_str=$column_str.""; $column_str=$column_str.""; $column_str=$column_str.""; $column_str=$column_str.""; $column_str=$column_str.""; } $column_str=$column_str."
#Test Case NameCreation DateDescription
".$i."".$testcase->name."".$testcase->creation_date."".$testcase->description."
"; echo $column_str; ?>