$band_id = 11;
$query="SELECT * FROM pic_upload WHERE band_id=$band_id";

print_r($_SESSION);

gives this:
Array ( [session_var] => 11 )

and picture is shown on the page



And about the session start: I have session start on the index2.php page
when user has logged in.
Page that should show the picture is in its own div on index2 page...

Reply via email to