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{}
-
Featured Topics
-
Topics
-
1
-
2
-
SillyFrog44 ·
Posted in Graphics Cards3 -
0
-
1
-
Bob_The_Builder ·
Posted in Folding@home, Boinc, and Coin Mining10 -
racker24 ·
Posted in Servers, NAS, and Home Lab0 -
2
-
MightyNerdy9 ·
Posted in Displays1 -
1
-
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