here is the code of test 1
array_one = [];
array_one[1] = 'image1.jpg';
array_one[2] = 'image2.jpg';
array_one[3] = 'image3.jpg';
and the code of test 2
array_two = ['image1.jpg', 'images2.jpg', 'images3.jpg'];
why the first one work… and the other on is not…
in fact i am looking for a solution to populate an array, without having to assign the index.
note : dont talk about the [0] index, i just dont use it…
Try it like this:
Unless you have the following set and didn’t write it in