To View multiple uploaded images [closed]
- by Nilesh Sonawane
PHP Javascript Image Upload
function updatepicture(pic) {
document.getElementById("image").setAttribute("src", pic);
document.getElementById("image1").setAttribute("src", pic);
document.getElementById("image2").setAttribute("src", pic);
}
Vastu deals Image Upload
Upload message will go here.
//query for insert timepass.php
0) {
if ($_FILES['file']['size']
parent.document.getElementById("message").innerHTML = "";
parent.document.getElementById("file").value = "";
window.parent.updatepicture("");
parent.document.getElementById("message").innerHTML = "There was an error uploading your image. Please try again later.";
parent.document.getElementById("message").innerHTML = "Your file is larger than 150kb. Please choose a different picture.";