Suppose I have an array that looks like this:
Array
(
[0] => Model Number
[1] => 987
[2] => Interface
[3] => 987
[4] => GPU
[5] => 98
[6] => Core Clock
[7] => 79
[8] => Boost Clock
[9] => 87
[10] => CUDA Cores
[11] => 987
)
I want to concatenate it so it takes this format AND is a string:
Array {
Model Number: 987;
Interface: 987;
GPU: 98;
Core Clock: 79;
... And so on ...
}
The implode function doesn't really suit this because I need a ; after every 2 indexes.
All my attempts to use a loop have failed. (Undefined Index and Out of memory errors)
Thanks in advance for any help!