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
-
0
-
2
-
monkk ·
Posted in Networking3 -
1
-
0
-
2
-
1
-
1
-
1
-
Flashmatrix ·
Posted in Storage Devices12
-
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