<!--~opt_listing_2 start~-->
# You may pass a "where clause" for the db query.
function ~form_name~_display_listing($where = 'order by ~always_field~ limit 100') {
<!--~opt_listing_2 start~-->
# You may pass a "where clause" for the db query.
function ~form_name~_display_listing($where = 'order by ~always_field~ limit 100') {
- $rows = db_get_rows('~form_name~', 'id,~always_field~', $where);
+ $rows = db_get_rows('~form_name~', 'id<!--~listing_fields_1 start~-->,~name~<!--~end~-->', $where);
list(~php_fields~) = ~form_name~_get_fields();
if("you're happy with the POSTed values") {<!--~opt_db_4 start~-->
list(~php_fields~) = ~form_name~_get_fields();
if("you're happy with the POSTed values") {<!--~opt_db_4 start~-->