Am Unable to Get Data from a Function ;

Anyone Can Help me out ?