i want to upload and crop five images at a time in php. i wrote code 5times for upload,and 5 times for croping. so...there is any possible to using an arrays and using anyway i want to short my code....plz help me..

Member Avatar for diafol

You certainly do not want to quintuplicate code. Once is enough. Use a loop and an image array. Post your code so that we can see what you're trying to achieve.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.