Php Create Form From Element Types