Posted by Jerry Stuckle on 12/17/89 11:56
jbk@ewebs.gr wrote:
> DID IT!!!! YEAH!!!!
> :-)
>
> just had to add
> mysql_query("SET NAMES greek")
> i dont exactly know what this does but it worked!
> Hehe....
> if anyone has the time to explain....
> Thanx!
> Ï <jbk@ewebs.gr> Ýãñáøå óôï ìÞíõìá news:ebq2aj$li6$1@aluminium.acn.gr...
>
>> Hello....
>>
>>I am trying do display data stored in mysql.. i get the data but because
>>it is(text) in greek it comes out like ?????????
>>i have changed the collation to greek_bin
>>both in the table as in the whole database...
>>I even tryied with the HTML tags of charset but even though i get these
>>???????
>>to define: i got a table named fysc and two columns named "per" and
>>"askisi" as you see, i am searching in askisi to get results from per....
>>
>>my code:
>>
>>$sql = 'SELECT per FROM fysc WHERE askisi="fysc2" ';
>>//$what = mysql_query($sql);
>>$results = mysql_query($sql);
>>//$what = mysql_query($sql); ?>
>>
>>while ($row = mysql_fetch_array($results)) {
>>extract($row);
>>echo $per;
>>echo "<br>";
>>}
>>
>>?>
>>
>>
>
>
If you want an explanation, you might try a MySQL newsgroup - such as
comp.databases.mysql.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|