How to obtain the option choosed at the combobox, accordingly with the code bellow?
(what variable stores it?)
Something more is necessary to do to obtain it?
$sql = "select sb_cccx, cx_info, substr(descricao,1,25) as descricao from cccx where ativa=1 order by sb_cccx";
$query = mysql_query($sql);
while ( $results = mysql_fetch_object ( $query ) );
array_pop ( $results );
<?php foreach ( $results as $option ) : ?>
<option value="<?php echo $option->sb_cccx; ?>"><?php echo $option->descricao; ?></option>
<?php endforeach; ?>
Thanks in advance!