task_data.php
/**
 * print information of the given task (id) as a json-encoded object.
 * @param unknown $task_id
 */
print information of the given task (id) as a json-encoded object.
print information of the given task ( id ) as a json - encoded object .
function print_single_task( $task_id)
{
	global $database;
	$task_info = $database->get_single_result( get_task_query( 0, $task_id));
	print json_encode($task_info);
}
function print_single_task ( $ task_id ) { global $ database ; $ task_info = $ database -> get_single_result ( get_task_query ( 0 , $ task_id ) ) ; print json_encode ( $ task_info ) ; }
print information of the given task (id) as a json-encoded object.
print information of the given task ( id ) as a json - encoded object .