Hello,
I run a simple sql query in a node:
$s ="SELECT `title`FROM `node`";
$events=mysql_query($s);
while ($line = @mysql_fetch_array($events, MYSQL_ASSOC))
{
foreach ($line as $col_value=> $value)
{
$$col_value= $value;
echo $col_value, ": ", $value, "<br><br>";
}
}
echo "áéőóúűüöí";
The first echo which has the returned values from the query prints out question marks wherever
these characters are found "áéőóúűüöí".
The second echo prints out the charcaters just fine. If I run the same sql query in for example in phpmyadmin or other then drupal location then it prints out fine. At this point I dont see any solutions to this problem and I can not even think of anything what could cause this, unless there is a javascript or something that rewrites the result set returned from the query.
Please advise!
Best regards,
Gabor
Comments
Comment #1
vm commentedthis should be checked against the latest release and then tagged if still a problem. 5.4 is 3 security and bug fix releases behind. There is also a -dev version that is the most up to date version that will be released as 5.8
Comment #2
dpearcefl commentedConsidering the time elapsed between now and the last comment plus the fact that D5 is no longer supported, I am closing this ticket.