I have query in XIRR Function.
How do I pass values from database into an array?
Example is with static data passed into array as shown below, pls let me know how can one do the same by passing data from database.
echo 'XIRR: ' . $f->XIRR(array(-10000,2750,4250,3250,2750), array(
), 0.1) . "\n";