I got this array in PHP:
$arr =('1-1.jpg','1-2.jpg','11-3.jpg', '1-4.jpg', '3-5.jpg', '41-5.jpg','1-3.jpg','4-5.jpg','14-5.jpg','54-5.jpg','64-5.jpg','14-5.jpg', '1-5.jpg');
I need this array, but I have PHP 5.27 version on the server :(
$newarray=('1-1.jpg','1-2.jpg','1-3.jpg', '1-4.jpg', '1-5.jpg');
Forget the server version, the criteria is "1-". How do I get all elements that is starting only with "1-"?
[...], you have to usearray(...).)