I asked a question about implementing logic in this thread but it wasn’t a very good question and didn’t represent my problem at all.
I might of had a few beers before hand… sorry. But the advice is good so I’ll leave it be for searching and start a new thread.
This is what I need to represent:
// Hi, I put it in a code tag this time :P
if ($a == true && $b == false) $c = false;
if ($a == true && $b == true) $c = false;
if ($a == false && $b == true) $c = true;
if ($a == false && $b == false) $c = false;
Now, here is my issue. This is pretty simple, except for the fact that there is no persistence of variable data it seems.
Only $a or $b will be triggering the chain of events, so once that chain starts, it doesn’t seem possible to get the value of the other variable. If $a triggered the chain, then how do I know if $b is false?
Thanks for your help