August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!
<?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.
Join the community of 500,000 technology professionals and ask your questions.