Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/270.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 在zend中自定义文本框_Php_Html_Css_Zend Framework - Fatal编程技术网

Php 在zend中自定义文本框

Php 在zend中自定义文本框,php,html,css,zend-framework,Php,Html,Css,Zend Framework,但我得到的输出是 我正在使用zend框架。 我的表格是 My expected output is this 我的视图代码是 $this->setMethod('post'); $username = $this->createElement('text','username'); $username->setLabel('Username') ; $username->setAttrib("class

但我得到的输出是 我正在使用zend框架。 我的表格是

              My expected output is this
我的视图代码是

    $this->setMethod('post');
    $username = $this->createElement('text','username');
    $username->setLabel('Username')
    ;
    $username->setAttrib("class"," member_login");
    $password = $this->createElement('password','password');
    $password->setLabel('password:')

    $password->setAttrib("class","member_login");

是否检查生成的HTML输出?是否检查生成的HTML输出?
<?php echo $this->form; ?>
   .member_login{
    width: 635px;
    float:left; 
    padding-left:30px;
}

   .member_login input{
    border: 1px solid #ccc;
    color: #999;
    height: 30px;
    margin: 5px 10px;
    padding: 0 5px;
    width: 200px;
}