Why does this PHP function call work only once?

petesquirrel

New Member
I've wrote a simple array, and I would use it to print an html list option set, with a selected element.My problem starts if I try to print multiple lists in my page, because only the first list is printed correctly, why?\[code\]<?php$units = array ('0' => 'Units','kJ' => 'Kilojoule: kJ','g' => 'Grams: g','mg' => 'Milligrams: mg','mcg' => 'Micrograms: mcg,
 
Back
Top