https://www.icyphoenix.com/viewtopic.php?f=17&t=10161&p=62159#p62159
-----------------------------------
mort
Thu 13 Feb, 2020 02:12

Re: Can't Switch Some Code I've Got And Need Help
-----------------------------------
:oops:  :oops: 

I had the VAR set in "status"  to  "timestamp" [b]WHY?[/b] I don't know  :( 

I set it to tinyint (4) -  no-go  -> 127

tinyint  NULL - no-go logged-in  -> 127

tinyint "signed" - no-go  -> 127

VARCHAR (1) - returns 1 or 0 correctly  :mryellow: 

BUT! I still can't get the switch to work?  :( 

I'll have a look around and see if it has something to do with PDO, although all the  other TINYINT's I use don't cause any problems?


