php - MySQL Error: Unknown system variable CHARACTER_SET -


i using character_set utf8 in sql execution part , got error, mysql error: unknown system variable character_set

here code,

 $this->runquery('execute','set character_set utf8'); // error getting line. 

there no character_set variable, use character set instead -

set character set utf8; 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -