open the source code, and you'll see < Upload more pictures? [Click here] > button trigger to a javascript function named fnAddLeft(). this function < fnAddLeft() > will insert (innerHTML) new html input (type=file) and name it to array so it u can process image more than 1 newtd1.innerHTML+="<input type='file' name='txtImg[]' class='txtbox-file1' >"; /* functoin fnAddLeft() */ function fnAddLeft() { var Cnt=parseInt(document.thisForm.HidcountLeft.value); var newtr=document.getElementById('AddTableLeft').insertRow(Cnt); var newtd1=newtr.insertCell(0); //newtd1.bgColor="#FFFFFF"; var newtd2=newtr.insertCell(1); //newtd2.bgColor="#FFFFFF"; newtd1.innerHTML+="<input type='file' name='txtImg[]' class='txtbox-file1' >"; if(Cnt==1 || Cnt==2) { newtd2.innerHTML+=""; } else { newtd2.innerHTML+="<input type='button' name='btnDelLeft' style='border:0px; cursor:pointer;' value='' onClick=fndelLeft(this.parentNode.parentNode.rowIndex) class='minusgift' >"; } document.thisForm.HidcountLeft.value=Cnt+1; } -- Muhammad Rashid Babsail http://hammudi.com --- On Sat, 7/11/09, arvindsri123 <arvindsri123@xxxxxxxxx> wrote: From: arvindsri123 <arvindsri123@xxxxxxxxx> Subject: Image upload To: php-objects@xxxxxxxxxxxxxxx Date: Saturday, July 11, 2009, 6:44 PM Hi All, I wanted to make a image upload page with a button, when u click on Image upload button it will add a new field for add more image same time, please check this link http://www.wowapic. com/add_image. php please click on "Upload more pictures? [Click here]" Please help me how i can do it, also little bit abt how to set table for it as it will add any number of images. Thanks, Arshi [Non-text portions of this message have been removed]