im making an admin page to edit one of my hacks, how do i make a page get all the rows from a table in the database, and show yes/no boxes on my page with the defaults what they are currently in the database. also how would i go about updating the database with the updated options.
i know you start off with somthing like this
PHP Code:
$blah = $db->query_first("
SELECT * FROM " . TABLE_PREFIX . "table");
but how do you get the yes/no radio buttons after that?