Welcome Guest, Not a member yet? Register   Sign In
[solved] check boxes
#6

[eluser]smilie[/eluser]
I think (not sure tho') that you will have to serialize yourself.
However, I would suggest you to split that DB table into three fields (one for each checkbox).

I it easier to handle it that way (from code).

Let's say, in future - you only wish to get appointments for CT.
Then, you would (in PHP) have to get that serialized value out of 1 table field, unserialize it and then do preg_search on it to see if it matches your request.

If you have separate fields for each checkbox, you can simply do:

select ... from ... where ct = 1;

Cheers,
Smilie


Messages In This Thread
[solved] check boxes - by El Forum - 11-09-2010, 12:37 PM
[solved] check boxes - by El Forum - 11-09-2010, 08:57 PM
[solved] check boxes - by El Forum - 11-10-2010, 09:13 AM
[solved] check boxes - by El Forum - 11-10-2010, 09:23 AM
[solved] check boxes - by El Forum - 11-10-2010, 09:32 AM
[solved] check boxes - by El Forum - 11-10-2010, 10:12 AM
[solved] check boxes - by El Forum - 11-10-2010, 10:33 AM
[solved] check boxes - by El Forum - 11-10-2010, 12:13 PM
[solved] check boxes - by El Forum - 11-10-2010, 12:26 PM
[solved] check boxes - by El Forum - 11-10-2010, 12:32 PM
[solved] check boxes - by El Forum - 11-10-2010, 02:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB