Ok, there is a good chance I’m not explaining this correctly but I hope I can make sense. I’m fairly inexperienced with PHP and am trying to wrap my head around how to write this statement.
I have two string values, $string_a and $string_b. I want it do something if $string_a has a value. But I don’t want it to do something if $string_b has a value.
Example:
IF $string_a { do something }
IF $string_b { do nothing }
IF $string_a and $string_b { do nothing }
I know I’m just thinking about this all wrong… Any help would be appreciated.
Thanks!
You want something like: