public
Created

  • Download Gist
bleh.php
PHP
1 2 3 4 5 6
<select name="account" id="account">
<?php foreach ( $accounts as $account ) :
<option value='<?php echo $account->ID; ?>' <?php selected( in_array( $account->ID ) ); ?> >
<?php echo $account->post_title; ?>
</option>
</select>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.