[eluser]xwero[/eluser]
I don't think you can add 'raw' php to the template. If you want to use the form functions you have to do
Code:
$data['title']='This is my title';
$data['heading']='My heading is different';
$data['form_open']=form_open('welcome/mysubmit');
$data['username']=form_input('username','');
$data['pword']=form_input('pword','');
$data['submit']=form_submit('mysubmit','submit');
$data['form_close']=form_close();
$this->parser->parse('template_welcome_message',$data);
// template
{form_open}
{username}
{pword}
{submit}
{form_close}