I have this array that the key of this, is string :
array
(
[FJD] => 2.04104
[MXN] => 20.47961
[STD] => 20466.377105
[SCR] => 21.203708
[CDF] => 1975.464421
[BBD] => 2.0
[GTQ] => 7.770557
[CLP] => 734.801634
)
How can I echo without foreach?
FJD: 2.04104 MXN: 20.47961 STD: 20466.377105 . . .
foreachandecho. It's all pretty basic. Have you actually tried anything before posting the question?foreach? You could usefor. Without iterating at all? You can't. Unless you're satisfied with one of the formats thatvar_dump,print_rorvar_exportoffer.how to foreach the array with string key