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

« File decryption + download... || Retrieving POST data from... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home