for($a=1;$a<=(int)($_POST["hdnMaxIN"]);$a++) { if(move_uploaded_file($_FILES["fileIN_"][$a]["tmp_name"],"myfile/".$_FILES["fileIN_"][$a]["name"])) { $sqlIN = "INSERT INTO file_inv (invoice_no,inv_file,id_job) VALUES ('".$_POST["invoice_".$a]."' , '".$_FILES["fileIN_"][$a]["name"]."' , '$max_id')"; } }
//*** Column 1 ***// newCell = newRow.insertCell(0); newCell.id = newCell.uniqueID; newCell.setAttribute("className", "css-name"); newCell.innerHTML = "<center><INPUT TYPE=\"TEXT\" SIZE=\"10\" NAME=\"invoice_"+intLine+"\" ID=\"invoice_"+intLine+"\" ></center>"; //*** Column 2 ***// newCell = newRow.insertCell(1); newCell.id = newCell.uniqueID; newCell.setAttribute("className", "css-name"); newCell.innerHTML = "<center><INPUT TYPE=\"FILE\" SIZE=\"10\" NAME=\"fileIN_"+intLine+"\" ID=\"fileIN_"+intLine+"\" ></center>"; document.checkform.hdnMaxIN.value = intLine;
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง