Home > Backend Development > PHP Tutorial > php 回到界面显示值

php 回到界面显示值

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:40:57
Original
933 people have browsed it

php 返回界面显示值

<br />比如 我点击查询<br /><br />     <form action="<?php echo base_url('test/index'); ?>" method="GET"><br /><br /><table><br />       <tr><br />        <td>名字</td><br />        <td><input id="aname" value="<?php echo  $this->input->get('aname');?>"/></td><br /><!--  上面这句在搜索返回刷新页面的时候回把传进去的参 返回到输入显示   这句没问题--><br />        </tr><br />        <tr><br />        <td>文凭</td><br />        <td><br /><select id="wenping" name="wenping" value="<?php echo  $this->input->get('wenping');?>"><br />          <option value=''>请选择</option><br />          <option value="1">高中</option><br />          <option value='2'>大学</option><br />        </select><br /><!-- 问题就是下拉框这句了,比如说我选择了高中查询 怎么显示高中? 而不是一搜索就又选中了请选择 --><br />      </td><br />        </tr><br /></table><br /></form><br />
Copy after login
php

Related labels:
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