ok, today I\'m making a helper HTML function. It looks like this:
function Input($name,$type,$lable,$value= null){ if (isset($value)) { //if (this.value==\
Try this. Maybe it can help you: