值不显示在输入字段

时间:2018-05-31 08:28:10

标签: php html

我试图弄清楚为什么php值没有显示在输入字段中。我可以从检查器看到值正确设置但是没有显示在输入字段中。

如果有人能指出我的错误,我将不胜感激。非常感谢

<div class="form-group-contact">
    <label class="labelStyle-contact" for="companyprof">Company</label>
    <input class="editInput"
        id="companyprof"
        name="companyprof"
        readonly
        type="text"
        value="<?php echo $_SESSION['ls_idcode_usr']; ?>"/>
</div>

0 个答案:

没有答案
相关问题