PDA

View Full Version : Documentation on bitfields


Dilmah
09-24-2007, 02:47 PM
I've searched google and here, I know about storing them, reading them from the database and working out values.

Can anyone point me to docs about decoding a field value into bits?

Cheers.

Opserty
09-24-2007, 03:31 PM
Could do with this too. I couldn't find much in the way of a tutorial either last time I searched.

Dismounted
09-25-2007, 05:30 AM
$boolean = $totalbits & $bitvalue;