Set PDO to ALWAYS return fetched rows with PDO::FETCH_ASSOC?

From: Date: Fri, 09 Jun 2006 13:10:43 +0000
Subject: Set PDO to ALWAYS return fetched rows with PDO::FETCH_ASSOC?
Groups: php.general 
Request: Send a blank email to php-general+get-237686@lists.php.net to get a copy of this message
I am trying to go through the PDO documentation to set up PDO to always use PDO::FETCH_ASSOC instead of being forced to include this attribute on each and every fetch call. Can anyone tell me if there is a setAttribute value I can set when I create the db connection handler that I reuse throughout my code? Thanks Rick

« previous php.general (#237686) next »