我确实多次尝试让值更容易表达。用数组放值是我的意思,因为我不需要输入更多的值,他可以自动放。例如,我写:
<?php
$Value1 = array (
'Somevalue1' => 'SomeValue2',
'SomeValue1' => 'SomeValue2',
'SomeValue1' => 'SomeValue2',
);
// This is method what i want to put in, but i dont think that its right
$Value1[0] = strip_tags($_POST['.Value1[0].']);
// Its the meaning that he put so out:
$SomeValue1 = strip_tags($_POST['SomeValue2']);
$SomeValue1 = strip_tags($_POST['SomeValue2']);
$SomeValue1 = strip_tags($_POST['SomeValue2']);
?>
我对阵列没有太多经验,我只是在学习......