phalcon下拉列表

<?php echo Phalcon\Tag::selectStatic("gender", array(0 => "Male", 1 => "Female")); ?> //下拉框value值为0,1,页面显示的是”Male“和”Female“


参考: http://www.cnblogs.com/helinfeng/p/4309269.html

你可能感兴趣的:(phalcon下拉列表)