Generate form elements with same name attribute

<input type="checkbox" name="ft_1" value="node1" checked="checked">
<input type="checkbox" name="ft_1" value="node3" checked="checked">

This causes that when the form post to the server, there is one variable in $_POST global variable.

If we change it's name attribute to "ft_1[]", all variables are in array in $_POST
Merge pull request #245 from burakcakirel/master

Generate form elements with same name attribute (fix for PHP)