Welcome Guest, Not a member yet? Register   Sign In
Codeigniter error with chatset latin1 (Vbulletin)

i using codeigniter make an project, it as follow. i want to connect to mysql of Vbulletin and show in my project, i save code with UTF-8 not DOM, it show ok but i see at Chrome and IE error HEAD haven't everything. but only TITLE in HEAD and everything after BODY. and have space in "" after BODY

i config database.php in codeigniter is.

$db['default']['char_set'] = 'latin1';//utf8
$db['default']['dbcollat'] = 'latin1_swedish_ci';//utf8_general_ci
i use latin1 because Vbulletin use it.

Html page

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="author" content="mr.sam" />
and i try to change chatset is (latin1 or utf-8). BUT IT NOT WORK Please help me THANKS ALL

help me please. BIG THANKS

more information.
i code <head> as follow
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
  &lt;meta name="author" content="mr.sam" /&gt;
    &lt;link rel="stylesheet" type="text/css" href="/theme/vinadev.css" /&gt;
    &lt;link rel="stylesheet" type="text/css" href="/theme/jquery.tooltip.css" /&gt;
      $j = jQuery.noConflict();
    &lt;title&gt;Bình thuận 360&lt;/title&gt;
but i check again in chorme is no true &lt;head&gt;. (You can see attach file). it show after &lt;body&gt; and &lt;body&gt; add space in "".

link image: http://s1063.photobucket.com/albums/t512...ent=01.png

Theme © iAndrew 2016 - Forum software by © MyBB