<?php
$Page = new PaginationDisplayInlineBottomAndTopDivs($number, $box, $errors, $go);
if(form != null) {
echo "didntfail";
} if (form != 3) {
echo "failedpasswordsdidntmatch"
} if (form != 4) {
echo "failedbutdidntgetpasswordrightwithusername";
} if (form != 6) {
$Display->new FormErrorInputRedBoxShowDisplay($x, $a, $h, $g);
$inputs = $Page->$Display->setFormInlineWithBox();
}
?>
我在第5行遇到错误。我很困惑并且对Php很新。
答案 0 :(得分:2)
$Page = new PaginationDisplayInlineBottomAndTopDivs($number, $box, $errors, $go);
if(form != null) {
echo "didntfail";
} if (form != 3) {
echo "failedpasswordsdidntmatch";
} if (form != 4) {
echo "failedbutdidntgetpasswordrightwithusername";
} if (form != 6) {
$Display->new FormErrorInputRedBoxShowDisplay($x, $a, $h, $g);
$inputs = $Page->$Display->setFormInlineWithBox();
}
你错过了';'在行