[eluser]Unknown[/eluser]
Hi all, i'm new in codeigniter and this framework is perfect for me!
I have one question about View code. This solution:
Code:
<?=doctype('html5').'
<html>
<head>
'.meta('Content-type', 'text/html; charset=utf-8', 'equiv').'
</head>
<body>
'.form_open_multipart('Home/upload', $form).'
'.form_upload($fields['file']).br().'
'.form_submit($fields['submit'], 'Upload').'
'.form_close().'
</body>
</html>'?>
or this:
Code:
<?=doctype('html5')?>
<html>
<head>
<?=meta('Content-type', 'text/html; charset=utf-8', 'equiv')?>
</head>
<body>
<?=form_open_multipart('Home/upload', $form).'
'.form_upload($fields['file']).br().'
'.form_submit($fields['submit'], 'Upload').'
'.form_close()?>
</body>
</html>
is better for performance?
I'm sorry for my bad English!