HTML表单使⽤下拉列表提交
I am a bit new to PHP development. I have a form that I need to submit and insert values into a specific table.
For example:
I have H&M value in a drop down list, and when I choose this option in a drop down list all the values are inserted in all other tables and in
a table that I have chosen.
I have this part first:
$projectIndex = 0;
html中提交表单用什么属性switch ('ddlProjekat')
{
case "0":
$projectIndex = 0;
break;
case "H&M":
$projectIndex = 1;
break;
case "Takko Fashion":
$projectIndex = 2;
break;
case "Deichmann":
$projectIndex = 3;
break;
case "CortefielSRB":
$projectIndex = 4;
break;
case "CortefielBiH":
$projectIndex = 5;
break;
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论