[eluser]sexy22[/eluser]
Could I use the model in the view?
I want to use the mothods of model direct in the view,but I do not know do that is right?
for example,
this is a file named test.html
<td>
<input type="text" name="year" size="5" value=<?php
$this->load->model('hrsModel/projectCl');
$this->projectCl->getYear($project_started);
?>
>
Like this writes may?
<td>