I am working on a website, and this is a gaming clan webiste, and I want to have userprofile.

Taht means that the admin can add players to the database, and set them on a team etc.

But how can i do this? I will alsow have the ability to upload a thumbnail to the profile?

Best Regards,

I suggest going with a forum. Or you could try something like phpfox.

No, I made a upload script taht uploads a image, and then should wirte the name of the file to the database and then get the image out o f the database with som codes, but the code will not print the file name to the database, what have I to do?
I am gettina a mysql_query error :S

Now the promblem is fixed!:)
But when i upload images over 100kb just half of the picture is been showed, why?

<form action="profile.php" method="post" enctype="multipart/form-data" >
<input type="hidden" name="MAX_FILE_SIZE" value="1000000" />
	<input type="file" name="image" /> <br /><br /><input type="submit"
 value="upload image" />
 // connect to database
include 'connect_profile.php';
 // file infomartion
 $file = $_FILES['image']['tmp_name'];
 	echo "Please select an image!";
	 $image = addslashes(file_get_contents($_FILES['image']['tmp_name']));
	 $image_name =  addslashes($_FILES['image']['name']);
	 $image_size = getimagesize($_FILES['image']['tmp_name']);
	 if ($image_size==FALSE)
	 	echo "That's not an image.";
	  if (!$insert = mysql_query("INSERT INTO cms_profile VALUES ('','$image_name','$image')"))
	  echo "Soory, we've got a problem uploading your image, pleas try again:)";
		$lastid = mysql_insert_id();
		echo "image uploaded. <p /> Your Image:<p /><img src=get.php?id=$lastid width='200' height='200' />";