In view.phtml of edit news action, i want to show all categories of news ( such as healthy, sport, joke) and selected is correct which it has before. How to do this with Tag
echo Phalcon\Tag::select(array( "2", Menu::find("id != '0'"), "using" => array("id", "name"), ));
html correct like this:
<select> <option value="1">news</option> <option value="2" selected="selected">healthy</option> <option value="3">joke</option> </select>