It seems There is hell lots of problem in given code... it isn't executing even a bit... this is 'upload.php'(no prblem with this one) this is 'uploadresult.php' (this is the culprit) please tell me the problem in my script.. i know it is full of error.... if u can then please tell me how to tell the user that his 2nd or both file has not been uploaded..
1. Typo here: $albumname = $_POST['albmname']; PHP: 2. Typo here: if($ablumname) PHP: 3. Typo here (and should be mysql_error() not mysql_qery): $insert = mysql_query("INSERT INTO album VALUES('','$userid','$albumname','','','','$date')") or die(mysql_qery()); PHP: 4. Put your attributes for the inputs in the HTML around quotes e.g input type="text" name="snap1"