Hi efimmike,
By simply having a glance at your code i see following errors. Please after writing your code read though it once or twice just to identify the syntax errors. If you really look into your code im sure you also would have found these,
1. if($_SESSION['submit'] - missing closing bracket
2. if ($_SESSION['name'] - missing closing bracket
3. move_uploaded_file - check the manual for syntax
4. $sqlcode = mysql_query(" INSERT INTO fileupload (id, user, location) VALUES ('' , $user, $location") ; - missing closing bracket
5. echo <a href='' >"Click here to view your file"; </a> - invalid concatenation
6. echo "Please sign in...";
}
}
else
{
- One additional closing
7. ehco "<a href='indexupload.php'> ; - check the spellings.. this is a silly mistake.. If you read though your code you would have caught it.
Im sorry but i have to say this. Please dont expect help from others if you dont willing to take time and correct your silly mistakes.
why dont you use IDE to write codes. These kind a mistakes can be easily spotted with syntax highlight.
Thanks,
best regards,
Niroshan