Hy guys, i have a problem.
My variable can have different values in my cycle:
- values="10"
- values="Hello"
- values="2015-02-17"
How do I check the type of variable with a condition? I have tried but string type is "equal" to date type.
Hy guys, i have a problem.
My variable can have different values in my cycle:
How do I check the type of variable with a condition? I have tried but string type is "equal" to date type.
You can try the php gettype()
function to find the type