radio buttons for categories on edit page

php gets categories from database and generates radio buttons