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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:32:451016browse

使用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>

Statement:
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