Web Analytics Made Easy -
StatCounter Danish letters(وّه) and mysql help needed ... - CodingForum

Announcement

Collapse
No announcement yet.

Danish letters(وّه) and mysql help needed ...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Danish letters(وّه) and mysql help needed ...

    hey im trying to make a mysql query but it wont get the string if there is danish letters in the code


    like
    PHP Code:
    $result1 mysql_query("SELECT * FROM test WHERE name='sّren'"); 
    but when im making an while loop like this
    PHP Code:
    while($row mysql_fetch_array$result )){

    echo 
    "<br>Id: ".$row['id'];
    echo 
    "<br>Name: ".$row['name'];
    echo 
    "<br>pass: ".$row['pass'] . "<br>";



    it has no problem showing the part with "sّren" ...


    Thanks in advance .

  • #2
    Are you using utf8 collation for your table?
    Digitalocean Cloud Hosting (Referral link - get $10 free credit) Fameco

    Comment


    • #3
      Ye i it is set to that ...

      Comment


      • #4
        Are you able to see the results via phpmyadmin or mysql console for your above query?
        Digitalocean Cloud Hosting (Referral link - get $10 free credit) Fameco

        Comment


        • #5
          yes i will show the result just not when om querying it in php :S

          Comment

          Working...
          X