Wybierz sesję php

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