?
Current File : /home/cideo/library/My/Outils/Location.php
<?php
Class My_Outils_Location
{
							
	// verifie si une url est valide						
	// utiliser pour feeds check si le flux est en ligne						
	static function getinfo($name)
	{
	   
		$dbAdapter = My_Outils_Feeds::getdbAdapter();

		$dbAdapter->query('SET CHARACTER SET utf8');
		//$listTables[$t] = "archivesrss2012";
		$sql= "SELECT id,nom,lat,lng,streetAddress,postalCode,addressLocality,addressCountry, url_map, geo_region FROM location ";
		$sql.= "where nom = '".$name."' ";
		
	                          
		$location = $dbAdapter->fetchAll($sql);

		return $location;

	}

	
}



?>