Hi,
Is there a way of ensuring that a mySQL table column will contain one
and only one true (with the remainder being false).
I want to set a value of true (or '1') to a row and be assured that
the remaining rows are false (or '0'). Or is this something that has
to be done php side?
Thanks
Is there a way of ensuring that a mySQL table column will contain one
and only one true (with the remainder being false).
I want to set a value of true (or '1') to a row and be assured that
the remaining rows are false (or '0'). Or is this something that has
to be done php side?
Thanks
Comment