PDO returning MySQL error with bindParam
===

Hey Guys I'm running this little function here

    function getBeaches() {

	$request=Slim::getInstance()->request();

	$args=filter_var_array(func_get_args(),FILTER_SANITIZE_STRING); 
	$sql="SELECT * FROM beaches WHERE state=:state AND city=:city"; 

		//	var_export($args); die();
		//	array ( 0 => 'wa', 1 => 'seattle', )

	try {
		$db 		= getConnection();
		$stmt 		= $db->prepare($sql);


			$stmt->bindValue('state', 	$args[0], PDO::PARAM_STR); //should bind wa 
			$stmt->bindValue('city', 	$args[1], PDO::PARAM_STR); //should bind seattle
			$stmt->execute();

		$stmt 		= $db->query($sql);
		$beaches 	= $stmt->fetchObject();
		$db 		= null;

		echo '{"map": ' . stripslashes(json_encode($beaches)) . '}';
	} catch(PDOException $e) {
		echo '{"error":{"text":'. $e->getMessage() .'}}';
	}

		/* {"error":{"text":SQLSTATE[42000]: Syntax error or access violation: 
		 * 1064 You have an error in your SQL syntax; check the manual that  
		 * corresponds to your MySQL server version for the right syntax to use 
		 * near ':state AND city=:city' at line 1}}
		 */

    }


And am getting the error I commented at the bottom, trying to run this like so

`mysql$ SELECT * FROM beaches WHERE state='wa' AND city='seattle';`


May be this rings some bells?