Re: session variable in select query showing picture from database

From: Date: Thu, 12 Feb 2009 21:22:10 +0000
Subject: Re: session variable in select query showing picture from database
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-45947@lists.php.net to get a copy of this message
$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...

« previous php.db (#45947) next »