我没有看到我的简单PHP程序中的任何错误可能是什么问题 [英] I dont see any error in my simple PHP program what may be the problem

查看:58
本文介绍了我没有看到我的简单PHP程序中的任何错误可能是什么问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

$ number2)和($ number1 == $ number2));

{

echoequal;

}

else

{

echonot equal;

}

?>



我的尝试:



我已经尝试删除其他但它无法正常工作

$number2) and ($number1==$number2));
{
echo "equal";
}
else
{
echo"not equal";
}
?>

What I have tried:

I've tried erasing the else but it wont work

推荐答案

number1 ==
number1==


number2));

{

echoequal;

}

else

{

echonot equal;

}

?>



我的尝试:



我已经尝试删除其他但它无法正常工作
number2));
{
echo "equal";
}
else
{
echo"not equal";
}
?>

What I have tried:

I've tried erasing the else but it wont work


您的代码不完整且缺少 if 语句,它应该是:

Your code is incomplete and is missing the if statement, it should be:
<?php
    if ((


这篇关于我没有看到我的简单PHP程序中的任何错误可能是什么问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆