daryll1 0 Light Poster

Hey,
I'm having some trouble building code to insert values from my form.
The form prints out from the username, whether the account has been confirmed and the level of the user from the database.
I am having trouble getting the data to go back in once amended, this is what I have so far.

<?php ob_start(); 
include('header.php');
include('login_check.php');

$query = "SELECT * FROM user_info";
$result1 = mysql_query($query) or die(mysql_error());
$row=mysql_fetch_array($result1);


if ( isset($_POST['submitted']) ) {
			foreach($_REQUEST as $item){
			$query = "SELECT * FROM user_info ";
			$get = mysql_query($query);
			$data = mysql_fetch_array($get);
			print $item . $data['uname'] ."<BR>";
} 
}
?>
<h1>Admin</h1>

<form action="admin.php" method="post">
<table id="tab1">
<tr><th>User</th><th>Confirmed</th><th>Level</th></tr>
<?php 
$result = mysql_query("SELECT uname,confirmed,user_level FROM user_info");
while ($data = mysql_fetch_array($result)) {
   	print '<tr>';
	print '<td style="padding-right:20px">'.$data['uname'].'</td>';
	print "<td style=\"padding-right:20px\">Yes <input name=".$data['uname']." type=radio value=1 ";
	if ($data['confirmed'] == "1") { print ' checked ';}
	print ">";
	print "No <input name=".$data['uname']." type=radio value=0";
	if ($data['confirmed'] == "0") { print ' checked ';}
	print "></td>";
	print "<td><select name=".$data['uname']."><OPTION VALUE=a";
	if ($data['user_level'] == 'a') {echo ' selected ';} 
	print ">Admin</option>";
	print "<OPTION VALUE=m";
	if ($data['user_level'] == 'm') {echo ' selected ';} 
	print ">Moderator</option>";
	print "<OPTION VALUE=u";
	if ($data['user_level'] == 'u') {echo ' selected ';} 
	print ">Standard user</option> </tr>";
	print "</select>";
}
mysql_free_result($result); ?>
<TR><td>&nbsp;</td></TR><tr><td><input type="hidden" name="submitted" />
<input type="submit" /></td></tr>
</form>
</table>

<?php include('footer.html'); ?>
<? ob_flush(); ?>

The parts of the database are these

uname	                   confirmed	user_level
darylldoyle@hotmail.co.uk        1	     u
admin                            1	     a

Any help would be amazing, this is killing me.

Thanks,
Daryll