php - Keeping text attributes in an array -
i have been using simple php create menu names of shops. due fact customer expanding different markets, wants specific lines in array bold. have tried has been failure, have suggestions? using .txt, see, there format better this?
<td> <!--<li class="mainform" id="fieldbox_4">--> <label class="formfieldquestion">supervisor</label><select class="mainform" style="width: 100%" name="field_4" id="field_4"> <option value="n/a">n/a</option><?php $shops = file('shops.txt'); foreach($shops $line){ echo '<option value=\''; echo $line; echo '\'>'; echo $line; echo '</option>'; } ?></select> </td>
Comments
Post a Comment