database and check boxes
Date: 11/25/07
(PHP Community) Keywords: php
I'm making a site with a "preferences" page. The page will have mostly all check boxes.
[x] Email hidden
[x] last name hidden
... and so on.
In a previous post it was suggested that I not store each preference in its own colum but rather each users row gets a colum called preferences.
id userid pref
1 test1 yynynyyyn
2 test2 nnnnnynyy
My question what is the php function to pull those preference choices into each check box?
Source: http://community.livejournal.com/php/598121.html