[eluser]SpiderXP[/eluser]
in my view file I write the normal coding of echo condition
Code:
<title><?php echo $title; ?></title>
but in the CI tutorial write the echo condition replaces the =
Code:
<title><?=$title?></title>
and execute the code in title print the coding
and this is a controller file
Code:
<?php
class Blog extends Controller {
function Blog()
{
parent::Controller();
$this->load->scaffolding('entries');
}
function index()
{
$data['title']="My Blog Title";
$data['heading']="My Blog Heading";
$data['todo'] = array("Clean House","Eat Lunch","Call Mom");
$this->load->view('blog_view', $data,);
}
}
/* End of file blog.php */
/* Location: ./system/application/controllers/blog.php */
Please guide me

mirk: