function user ($data){ $user = mysql_fetch_assoc(mysql_query("SELECT * FROM user where id= '$data' ")); return $user[isim];