Posted by Geoff Berrow on 01/11/07 15:29
Message-ID: <rhlcq29gimodffn7131cal3bc66splqi7t@4ax.com> from Peter
revera contained the following:
>> $selected=(isset($_GET['listid']) &&$_GET['listid']==$itemid)?"
>>selected":"";
>> echo "<option value='$itemid'$selected>$item</option>\n";
>> }
>> echo "</select>\n";
>
>
>Ive added the code and when I view the form with the variable pased in
>the url the select list hasnt changed. It just defaults to the normal
>order.
How are you passing the variable?
Should be like this:
www.example.com?listid=someid
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
[Back to original message]
|