在這裏,我想獲得文本框的價值,但我coudn't。 我錯在哪裏? 如果我想要獲得文本框的值,是否必須使用會話?Coudn't獲得文本框值
<input type="submit" id="processorder" name="processorder" class="submit-green" value="Process Order"/>
<?php
foreach ($order_list as $row)
{
?>
<td class="align-center">
<input type="text" name="text[]" autocomplete="off" id="txtid_<?php echo $row['id']; ?>" readonly value="<?php echo $text;?>">
</td>
</tr>
<?php
$i++;
}
?>
if(isset($_POST['processorder']))
{
$txtvalue = $_GET['text[]'];
echo "helo".print_r($txtvalue);
}
'$ _GET [ '文本[]']'來'$ _GET [」
獲取價值要多數據文本']' – roullie