如何使php解析脚本插入“< option>来自< select>"进入数据库? [英] How to make php parsing script to insert "<option> from <select>" into database?

查看:58
本文介绍了如何使php解析脚本插入“< option>来自< select>"进入数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


好​​吧我有这个问题已经有一段时间了。我在网站上有一个页面,成员在那里写文章,并选择与该文章相关的类别。我做了以下< select>表单与< options>

Hello,

Alright so I have had this problem for a while. I have a page on a website where members write their articles and they select a category that is relevant to that article. I have made a following <select> form with <options>

展开 | 选择 | Wrap | 行号

推荐答案

< select>就像< input>一样工作,抓住它就像你用
<select> works just like <input>, grab it like you grab the rest of the fields with


_POST,


_GET或

抓住其余的字段


这篇关于如何使php解析脚本插入“&lt; option&gt;来自&lt; select&gt;&quot;进入数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆