Ok well I am a beginer at all this infact this was a code taken from a php cookbook help site I know that you want me to put this if (move_uploaded_file($_FILES['image']['tmp_name'], $newname)) where line 51 was but where you put { //code here} I have no clue what comes next I tryed it this way and now it says successful but it didn't put anyfiles in any folder on the site
if (move_uploaded_file($_FILES['image']['tmp_name'], $newname))
if (!move_uploaded_file)
{
echo '<h1>Copy unsuccessfull!</h1>';
$errors=1;
}}}}
//If no errors registred, print the success message
if(isset($_POST['Submit']) && !$errors)
{
echo "<h1>File Uploaded Successfully! Try again!</h1>";
}
?>