本文介绍了输入错误的偏移量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
< form action ="index.php" method ="GET"><输入type ="submit" name ="back" value ="back">
<form action="index.php" method="GET"><input type="submit" name="back" value="back">
<?php echo $dateback1; ?>
</form>
</form>
$monate = array(01=>"Januar", 02=>"Februar", 03=>"März", 04=>"April", 05=>"Mai", 06=>"Juni", 07=>"Juli", 08=>"August", 09=>"September", 10=>"Oktober", 11=>"November", 12=>"Dezember");
$monat = date ("n");
if (isset ($_GET['vor']));
{
$back = $monate[$monat];
$dateback = new DateTime($back);
$dateback->modify("+1 month");
$dateback->format("m");
$dateback1 = $monate[$dateback]. "nbsp;"; date('Y');
}
警告:xy行上的/data/multiserv/users/750202/projects/1804127/www/Inhalte/Kalender/index.php中的偏移量类型非法2012
xy行是变量$ dateback1
的行
Warning: Illegal offset type in /data/multiserv/users/750202/projects/1804127/www/Inhalte/Kalender/index.php on line xy
2012
The line xy is the line with the variable $dateback1
What is the mistake?
推荐答案
</form>
</form>
if (isset (
这篇关于输入错误的偏移量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!