- Code: Select all
$app =& Dataface_Application::getInstance();
$query =& $app->getQuery();
$GENERAL = df_get_records_array('GENERAL', $query);
$SoldPrice = $GENERAL->val('SoldPrice'); --this line fails
echo '<td>'.min($SoldPrice).'</td>//
I'm trying to find away to save all the SoldPrice fields into an array. I want to call the array using the min($array) to calculate the minimum value of the array in the field.