$result= mysql_query("SELECT bandName FROM custmer where userName= '".$_SESSION['userName']."'");
while($row= mysql_fetch_array($result)){
echo $row["bandName"];
}