Выберите сеанс PHP

$query = mysql_query("select id from CUSTOMER where username = '".$_SESSION['username']."'");
//eng.aamiralshawa
Jolly Jellyfish