My form has 10 image fields ( image1 to image 10 ).
I need to achieve the following...
a) Check each field is completed
b) Upload the 10 images to my web server dir /images renamed as 01.gif to 10.gif.
I realise I need to create an array for the fields so I have used...
for ( $i = 1; $i <= 10; $i++ ) {
$imagearr = $ {"image" . $i };
But I am now struggling. I don't even really know if the array I created is good enough for what I want to achieve.
Can anyone please help?