hi!
how can i force php to check, if a variable contains the string "1"?
I have the following code:
if ($var1 != $var2) do_something;
but if $var2 is 1 and $var1 has been set before, it always evaluates to false!
i tried (string), but it didn“t work!
so did settype.
ANY help is welcome.
Michael