nightkarnation Posted January 2, 2009 Share Posted January 2, 2009 Ok... the ó,í,é etc...are saved perfectly to mysql (from php) ... but when i want to retreive them with php...this is where the ó,í,é,á are lost and not being displayed... What should i do to fix this? or what am i doing wrong? Thanx in advance! Cheers, Link to comment https://forums.phpfreaks.com/topic/139260-solved-my-project-is-in-spanish-letters-%C3%B3%C3%AD%C3%A9-arent-displayed-back-from-mysq/ Share on other sites More sharing options...
Brian W Posted January 2, 2009 Share Posted January 2, 2009 what gets displayed in their stead or are they completely gone? Show some code for where you output the values. Link to comment https://forums.phpfreaks.com/topic/139260-solved-my-project-is-in-spanish-letters-%C3%B3%C3%AD%C3%A9-arent-displayed-back-from-mysq/#findComment-728436 Share on other sites More sharing options...
nightkarnation Posted January 2, 2009 Author Share Posted January 2, 2009 It "eats" the word...for example: No pidas perdón, soldado Its displayed like this: No pidas perd�soldado PHP: //retrieve all the data from the selected article if ($action == "loadSelectedArticle") { $title=$_POST['txtTitle']; $result = mysql_query("SELECT title, article_spanish, article_english FROM videla_articles WHERE title = '$title'"); $cant = 0; while($row=mysql_fetch_array($result)){ echo "title$cant=$row[title]&article_spanish$cant=$row[article_spanish]&article_english$cant=$row[article_english]&"; $cant++; } echo "cant=$cant"; } FLASH (resumed): txtArticleTitle.text = content_lv.article_spanish0; Other important info...im using now, times new roman and/or arial (just in case) im also embedding on flash the "special characters" ó,í,é,á <-- so its not that. Any ideas? Link to comment https://forums.phpfreaks.com/topic/139260-solved-my-project-is-in-spanish-letters-%C3%B3%C3%AD%C3%A9-arent-displayed-back-from-mysq/#findComment-728441 Share on other sites More sharing options...
Mchl Posted January 2, 2009 Share Posted January 2, 2009 http://www.phpfreaks.com/forums/index.php/topic,231721.msg1075844.html#msg1075844 Link to comment https://forums.phpfreaks.com/topic/139260-solved-my-project-is-in-spanish-letters-%C3%B3%C3%AD%C3%A9-arent-displayed-back-from-mysq/#findComment-728443 Share on other sites More sharing options...
nightkarnation Posted January 3, 2009 Author Share Posted January 3, 2009 Perfect!! Thank you very much! Link to comment https://forums.phpfreaks.com/topic/139260-solved-my-project-is-in-spanish-letters-%C3%B3%C3%AD%C3%A9-arent-displayed-back-from-mysq/#findComment-728480 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.