The wy vB does it is via a test in Javascript at the bottom of the page, and if th etest is true, it runs a cron which updates the user profile (I think?) - it's not by any means a simple thing...
The wy vB does it is via a test in Javascript at the bottom of the page, and if th etest is true, it runs a cron which updates the user profile (I think?) - it's not by any means a simple thing...
The code above works if you only use one of them. Then it works right. But if you try to "else" them, then it only picks the first one, no matter which one it is. How can I get it to work with "else"?
Is dstonoff a TRUE/FALSE item? the only way that (!$post['dstonoff']) would never return the first (or second) clause is if $post['dstonoff'] is never FALSE (or TRUE)...
Is dstonoff a TRUE/FALSE item? the only way that (!$post['dstonoff']) would never return the first (or second) clause is if $post['dstonoff'] is never FALSE (or TRUE)...
All I know for sure is that whichever one I put first always works. How would I check for it then?