Location: PHPKode > projects > PHP-OS > PHP-OS BetaV2/showUser.php
<?php
include('includes.php');
$ID=$_POST['ID'];
$sql=mysql_query("SELECT * FROM user WHERE ID='".$ID."'");
$row=mysql_fetch_array($sql);

switch($row[status]){
case 1:$status=$spr[LevelAdmin];
break;
default:$status=$spr[LevelNormal];
}
echo'<a>
<table class="systemPageUserTable"><tr><td rowspan="2"><div class="systemPageUserPicture"><img src="bilder/ProfilepictureRound.png"></td><td>'.$row[user].'<td></tr><tr><td>'.$status.'</td></tr></th>';
Return current item: PHP-OS