not entirely sure what you mean, but perhaps this is what you're after??? $sql = "SELECT * FROM tablename WHERE username='{$_SESSION['userid']}'";
Justin French on 17/08/02 2:08 AM, Christian Ista ([EMAIL PROTECTED]) wrote: > Hello, > > Is it possible to use a session variable in a query (mysql_query) > without passé by an temp variable ? > > Bye > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php