-2

有人可以帮我处理这个代码,但标量值作为数组有错误?

$getal = $_POST['getal'];

For($teller=1; $teller<=11; $teller=$teller+1)
{
    $uitkomst[$teller]=$teller*$getal;
}
4

1 回答 1

1
$getal = $_POST['getal'];
$uitkomst = array();
For($teller=1; $teller<=11; $teller=$teller+1)
{
  $uitkomst[$teller]=$teller*$getal;
}
于 2013-11-14T08:48:50.957 回答