Whenever I use this code to upload a pic to a particular profile with unique id, the web page doesn't show any error, but at same time it doesn't show any uploaded pic, either...
<form action="profile.php" enctype="multipart/form-data" method="post">
<input type="file" name="choose" value="choose" />
<input type="submit" name="filename" value="Upload" />
</form>
I changed this code to...
<form action="<?php profile.php?id=$id ?>" enctype="multipart/form-data" method="post">
<input type="file" name="choose" value="choose" />
<input type="submit" name="filename" value="Upload" />
</form>
But I receive an error in the form action. How can I get the image out of it, so that after clicking on the submit button pics are automatically uploaded to the profile page with particular id value?