【发布时间】:2023-04-10 08:52:02
【问题描述】:
**我需要在 PHP 中从选定的选项中创建几个变量,每个选定选项的每个变量**
我正在尝试这个:
<?php
$tag1 = $_POST["select_name[option:selected(1)]"];
$tag2 = $_POST["select_name[option:selected(2)]"];
$tag3 = $_POST["select_name[option:selected(3)]"];
?>
【问题讨论】: