Welcome Guest, Not a member yet? Register   Sign In
form_dropdown undocumented behavior
#1

[eluser]blasto333[/eluser]
Code:
<?php echo form_dropdown('payment_type',$payment_options,array(), 'id="payment_types"');?>

If you pass to the third parameter an empty array, code ignitor will look in $_POST for a key of 'payment_type' to determine the selected value. This should be documented.




Theme © iAndrew 2016 - Forum software by © MyBB