Selecione Php da sessão

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