Click here to Skip to main content
15,884,629 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: Running .NET app on Linux Pin
Ni740826-Jul-11 2:17
Ni740826-Jul-11 2:17 
AnswerRe: Running .NET app on Linux Pin
vnsw18-Aug-11 17:22
vnsw18-Aug-11 17:22 
AnswerRe: Running .NET app on Linux Pin
Riceto19-Aug-11 1:54
Riceto19-Aug-11 1:54 
GeneralRe: Running .NET app on Linux Pin
Eddy Vluggen19-Aug-11 6:57
professionalEddy Vluggen19-Aug-11 6:57 
AnswerRe: Running .NET app on Linux Pin
Mehdi Gholam4-Sep-11 6:54
Mehdi Gholam4-Sep-11 6:54 
GeneralRe: Running .NET app on Linux Pin
Vasudevan Deepak Kumar9-Sep-11 6:22
Vasudevan Deepak Kumar9-Sep-11 6:22 
QuestionHow can i upload php website to Google apps engine Pin
anoopgoyal7-Jun-11 4:50
anoopgoyal7-Jun-11 4:50 
Question[SOLVED] Select with UNICODE Pin
CodingLover7-Jun-11 1:03
CodingLover7-Jun-11 1:03 
Hi all,

I wonder I've done something wrong with PHP or MySql.

I've a table as follows,

<br />
CREATE TABLE  `my_db`.`language_translations` (<br />
  `ID` int(10) unsigned NOT NULL AUTO_INCREMENT,<br />
  `SectionID` int(10) unsigned NOT NULL,<br />
  `QuestionID` int(10) unsigned NOT NULL,<br />
  `Text_eng` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '',<br />
  `Text_lk` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '',<br />
  `Text_ta` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '',<br />
  PRIMARY KEY (`ID`)<br />
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 PACK_KEYS=1;<br />


And I select data with the following function, but the text displayed as ???? characters.

<br />
function GetTranslationList($m_section_id, $m_question_id) {<br />
		$sql = "SELECT * FROM language_translations WHERE SectionID = ".$m_section_id." AND QuestionID = ".$m_question_id;<br />
		<br />
		$data = CDBCon::GetInstance()->GetAll($sql);<br />
		print_r($data);exit;<br />
	 	return $data;<br />
	}<br />


anyone of you have an idea what I've done wrong here?

Thanks
I appreciate your help all the time...
CodingLover Smile | :)

AnswerRe: Select with UNICODE Pin
Dimitris Vasiliadis7-Jun-11 9:00
Dimitris Vasiliadis7-Jun-11 9:00 
GeneralRe: Select with UNICODE Pin
CodingLover8-Jun-11 3:01
CodingLover8-Jun-11 3:01 
QuestionError While Senting Email Pin
Arunkumar.Koloth3-Jun-11 22:13
Arunkumar.Koloth3-Jun-11 22:13 
AnswerRe: Error While Senting Email [modified] Pin
That's Aragon3-Jun-11 23:07
That's Aragon3-Jun-11 23:07 
GeneralRe: Error While Senting Email Pin
Arunkumar.Koloth3-Jun-11 23:38
Arunkumar.Koloth3-Jun-11 23:38 
Questionyoutube upload using zend Pin
ammeer_a3-Jun-11 9:41
ammeer_a3-Jun-11 9:41 
QuestionGetting null value on $objWMI->ExecQuery('select * from win32_LogonSession') for some virtual machines. Pin
shankysharma861-Jun-11 1:48
shankysharma861-Jun-11 1:48 
QuestionMini WebShop Pin
n38130-May-11 1:06
n38130-May-11 1:06 
Generalupload photo Pin
emsiden29-May-11 16:49
emsiden29-May-11 16:49 
AnswerRe: upload photo Pin
Firo Atrum Ventus29-May-11 17:52
Firo Atrum Ventus29-May-11 17:52 
QuestionFor Loop does not work Pin
Dwayner7927-May-11 14:21
Dwayner7927-May-11 14:21 
AnswerRe: For Loop does not work Pin
Graham Breach27-May-11 21:27
Graham Breach27-May-11 21:27 
GeneralRe: For Loop does not work Pin
Firo Atrum Ventus28-May-11 0:02
Firo Atrum Ventus28-May-11 0:02 
GeneralRe: For Loop does not work Pin
Dwayner7928-May-11 12:31
Dwayner7928-May-11 12:31 
QuestionData Mapping in PHP Pin
grmihel225-May-11 3:47
grmihel225-May-11 3:47 
AnswerRe: Data Mapping in PHP Pin
cjoki25-May-11 5:56
cjoki25-May-11 5:56 
GeneralRe: Data Mapping in PHP Pin
grmihel225-May-11 21:54
grmihel225-May-11 21:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.