Hello friends
If i want to add multiple images (suppose 10 images) to a database
how can any one give me the sujjestion please
help me

Thank u in advance

Recommended Answers

All 2 Replies

you can do it by giving image name as img1,img2,img3,img4,img4,img5,img6 and so on...

and put your adding image code in for loop like:

for($j=1;$j<=10;$j++) 
{
//code for image addition
and image name should like $_POST['img'.$j]
}

can you please explain it more

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.