1
vote
1answer
236 views

List all categories in options

I used to use the following code to make the list of all categories: foreach($categories as $cat) { print '<label>'.$cat->name.'</label>'; print '<input type="text" ...