public static string select (array $parameters, [array $data])
Builds a HTML SELECT tag using a Phalcon\Mvc\Model resultset as options
echo Phalcon\Tag::select([ "robotId", Robots::find("type = "mechanical""), "using" => ["id", "name"] ]);
Volt syntax:
{{ select("robotId", robots, "using": ["id", "name"]) }}
Please login to continue.