Jump to content

AnaTeixeira

New Members
  • Posts

    1
  • Joined

  • Last visited

AnaTeixeira's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi everyone, i need some help. I have an array ($array) - Array ( [0] => 1374410400 [1] => 1374394500 [2] => 1374384000 [3] => 1374304800 [4] => 1374291900 ). And the operation that will be used in array is defined by the user. The operation could be array_sum, count and end. I want to "merge" this two (array + operation), like this $operation.'('.$array.')'. When I echo this $operation.'('.$array.')'. only appears count(Array). But when i write "count($res)" appears the result. Anyone knows the answer? Thanks in advance.
×
×
  • 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.