<?php
include "chksession.php";
include "connect_member.php";
$SetEnv = "SET NAMES 'utf8' ";
mysql_query($SetEnv);
$sql="select * from users order by id";
$result=mysql_db_query("$dbname",$sql);
while ($r=mysql_fetch_array($result))
{
$id=$r[id];
$username=$r[username];
$name=$r[name];
$mail=$r[mail];
$date=$r[date];
}
?>
$id = $_REQUEST[id];
$sql="select * from users where id = $id";
$result=mysql_db_query("$dbname",$sql);
while ($r=mysql_fetch_array($result)){
$username=$r[username];
$name=$r[name];
$mail=$r[mail];
$date=$r[date];
}