Jump to content

taranator

New Members
  • Posts

    1
  • Joined

  • Last visited

taranator's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I need to alter the following code snippet so that the second-greatest value in the array is returned. $dfs = [20727, 20733, 20739, 20746, 20753, 20757]; $dfvs = []; foreach ($dfs as $df) { $dfvs[$df] = utils::get_diary_field_value($case_id, $df); } return max($dfvs); I don't want to break anything and I'm a total noob, so your assistance is very much appreciated.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.