Need help with PHP problem
By
CripDawg
in Programming
in Programming
Go to solution
Solved by fizzlesticks,
thanks at least it works now but it just prints "numbers are equal" because they are both the same value
That's why it needs to be the first check done.
if(strlen($num1) == 0 && strlen($num2) == 0) {}else if(num1 == num2){}else if(num1 > num2){}else //num1 < num2{}
-
Topics
-
2
-
0
-
0
-
0
-
2
-
2
-
ShayOh ·
Posted in Troubleshooting2 -
Newbietobe5467 ·
Posted in Troubleshooting3 -
2
-
robjt ·
Posted in Troubleshooting16
-
-
play_circle_filled
Latest From Linus Tech Tips:
I Will NOT Give You $250 for Your Broken Game - WAN Show April 26, 2024
-
play_circle_filled
Latest From ShortCircuit:
I tried 20 influencer foods, here are the best… and the worst…
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now