Wednesday 13 February 2008 9:54:19 am
Hi,
I'm developing contribution for eZ Publish ver. 4.0. The problem is displaying of greman chars. When I use code:
$db =& eZDB::instance();
$query = "SELECT * FROM ...";
$ResultArray =& $db->arrayQuery( $query );
$out .= $ResultArray[0][$language];
The output is : Französisch. When i replace the code above with this code:
mysql_connect('localhost', 'admin', '*****');
mysql_select_db('****');
$row = mysql_fetch_array(mysql_query("SELECT * FROM ..."));
$out .= $row['$language']);
The output is: Französisch. Why first example doesn't work?
Thanks, b_segic
|