We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
<?php $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 ); ?> <select name="the_name"> <?php foreach ( $results as $option ) : ?> <option value="<?php echo $option->sb_cccx; ?>"><?php echo $option->descricao; ?></option> <?php endforeach; ?> </select>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|if(empty) validation fires when trying to select 0 from select list||21||60|
|How to get this library to work load?||8||40|
|Php - How to get the value of json file using PHP?||29||58|
|Why is my implode function empty||8||17|