I have an array, and I want to get the first value into a foreach loop. then send that value to a function.
-
This does not work
foreach ($frequency as $i) { showphp_AlexVortaro (getphp_AlexVortaro ($frequency[$i])); showphp_Smartfm(getphp_Smartfm($frequency[$i])); }
I think you mean to use the current ‘exposed’ offset as your functions’ arguments:
or: