Advertisement:

Author Topic: [Question] search_form.php  (Read 1114 times)

schurli

  • Newbie
  • *
  • Posts: 12
[Question] search_form.php
« on: October 21, 2016, 01:22:25 pm »
Hello,
i have a question.
Is my code correct for the search_form.php?

Code: [Select]
<div class="row one_input">
<?php $transmission Params::getParam('transmission') ; ?>
<h6 for="transmission"><?php _e('Transmission''reals_attributes'); ?></h6>
<select name="transmission" id="transmission">
<option value="" selected><?php _e('Select the transmission''reals_attributes'); ?></option>
<option value="MANUAL" <?php if(@$detail['e_transmission'] == 'MANUAL') { echo 'selected'; } ?>><?php _e('Manual''reals_attributes'); ?></option>
<option value="AUTO" <?php if(@$detail['e_transmission'] == 'AUTO') { echo 'selected'; } ?>><?php _e('Auto''reals_attributes'); ?></option>
</select>
</div>