472,981 Members | 1,725 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,981 software developers and data experts.

No GREEK???

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>";
}

?>
Aug 14 '06 #1
3 3309
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!
<jb*@ewebs.gr news:eb**********@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>";
}

?>


Aug 14 '06 #2
jb*@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!
<jb*@ewebs.gr news:eb**********@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>";
}

?>


You can find an explanation in this tutorial:
http://adviesenzo.nl/examples/php_mysql_charset_fix/
Aug 15 '06 #3
jb*@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!
<jb*@ewebs.gr news:eb**********@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.
js*******@attglobal.net
==================
Aug 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: sharma | last post by:
Hi, I have a application which shows the content in two different languages English and Russian. It has Languge folder where in it maintains seperate language folders named English and Russian....
2
by: Kyle | last post by:
Got a tough one here for you SQL junkies. I'm working on a website (in ASP) for a national greek/college organization. All it's college chapters have greek chapter names, i.e. Alpha Chapter,...
27
by: alexdoulou | last post by:
Hello, I am trying to type greek fonts into common html forms on the Internet explorer but erroneous text is being typed instead of clear greek. Greek language pack is installed correctly....
9
by: PAN | last post by:
I need some guidance here I've written this HTML code using the Windows Notebook: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EL"> <html> <head> <title>This is a Greek language title ->...
4
by: Kiki | last post by:
Hello, I'm trying to find a way to display text in greek or cyrillic in a .NET page using text stored in XML format. I'm getting the greek words displayed like this: "". I'm no expert but...
1
by: interuser | last post by:
Hi I have a web app that has a webpage on which there is a textbox and a submit button. if I type greek and press submit, the greek does not go through to the webserver. If I type greek and...
6
by: pros | last post by:
Hi, I am new to learning how to program in JavaScript and want to design a program in JavaScript that will allow a user to run a Classical Greek vocabulary flashcard program on my web page. My...
6
by: starman | last post by:
Hi all, I'm having trouble trying to enter/retrieve Greek characters. I have an astronomical dbase in MySQL. As you may know, lots of sky objects have Greek letter names (alpha Centauri, etc) but I...
2
by: rsam2011 | last post by:
Hi there, I have a strange problem with an application running on Windows 2000 connecting to a SQL Server 2000 with Greek collation. Runnin this query on the SQL "SELECT...
12
by: Punkis | last post by:
Hi all, I have a problem with my php and mysql project. I use an auctions software, named phpauction for my project. I import into my database with utf8 encodingm and I can see the greek...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.