Home > Backend Development > PHP Tutorial > 关于这段代码option的有关问题

关于这段代码option的有关问题

WBOY
Release: 2016-06-13 12:12:10
Original
931 people have browsed it

关于这段代码option的问题


我在网上找的PHP视频,请教各位这种写法是什么意思?


------解决思路----------------------

<br /><select><br /><option value='1' >A</option><br /><option value='2' selected >B</option><br /><option value='3' >C</option><br /></select><br />
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