solved issue #1 data is not retriving from dataapi.php