任何人都可以帮我解析错误我不断使用此代码加上div标签也不起作用所以也许你可以提前给我一个解释。
<?php
if (isset($errors) === false){
echo 'Click to update and edit your profile.';
}else if (empty($errors)){
echo 'Your profile has been updated.'
}else{
echo '<ul><li>',implode('</li></li>',$errors), </li</ul>';
?>
</div>
<form action"" method="post">
<div>
<label for="email">Email:</label>
<input type="text" name="email" id="email" value="<?php echo $user_info['email']; ?>" />
</div>
<div>
答案 0 :(得分:1)
<?php
if (isset($errors) === false)
{
echo 'Click to update and edit your profile.';
}
elseif (empty($errors)){
echo 'Your profile has been updated.';
}else{
echo '<ul><li>'.implode('</li></li>',$errors).' </li</ul>';
}
?>
</div>
<form action"" method="post">
<div>
<label for="email">Email:</label>
<input type="text" name="email" id="email" value="<?php echo $user_info['email']; ?>" />
</div>
<div>