[eluser]novarli[/eluser]
I have view header.php
Code:
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
<title><?= $head['title'];?></title>
<link rel="stylesheet" href="<?= base_url();?>mycss/template.css" type="text/css" />
<link rel="stylesheet" href="<?= base_url();?>mycss/menu.css" type="text/css" />
<link rel="stylesheet" href="<?= base_url();?>lightbox/lightbox.css" type="text/css" media="screen" />
[removed][removed]
<?= isset($head['style'])?$head['style']:''; ?>
[removed][removed]
<?= isset($head['script'])?$head['script']:''; ?>
....
And another view which include header.php
Code:
<?php $this->load->view('header'); ?>
<div id="banner"><div class="moduletable">
<?= $page['secondary'];?>
<div class="clear"></div>
</div></div>
.....
<div id="middleoneside"><div class="hack">
<h4>歡迎 <?=$account['name'] ?></h4>
.....
But if i write chinese language will output ???
If i create a simple html like this
Code:
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
<title>FirstLabor - Dashboard</title>
</head>
<body>
確認航班時刻表/確認機票
</body>
</html>
It's works
What happen ? Why outputed ??? in my view?