Home > Backend Development > PHP Tutorial > 使用post提交数据之后,有异常,页面刷新之后,想保持原有值

使用post提交数据之后,有异常,页面刷新之后,想保持原有值

WBOY
Release: 2016-06-13 11:32:45
Original
980 people have browsed it

使用post提交数据之后,有错误,页面刷新之后,想保持原有值
如题,我使用的ecmall模板

<tr><br />                                <td><span style="color:red"> * </span>{$lang.user_name}:</td><br />                                <td><input type="text" id="user_name" name="user_name" value="{$smarty.post.user_name}" class="text width10"  /></td><br />                                <td class="padding3 fontColor4"><label class="field_notice">{$lang.user_name_desc}</label><label id="checking_user" class="checking">{$lang.checking}</label></td><br />                            </tr>
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template