[eluser]Juan Velandia[/eluser]
Hello every one. I've dealing with this issue for a while, could anyone please tell me the advantages/disadvantages of use this code:
Code:
<input value="" class="validate[required] text-input" type="text" name="req1" id="req1" />
instead of this:
Code:
<?php echo form_input(array('name' => 'req1', 'id' => 'req1', 'size' => '30', 'value' => '', 'class' => 'validate[required] text-input')) ?>
having in mind that the first line it's almost half of the second one.
Thanks in advance!