/ Published in: PHP
Expand |
Embed | Plain Text
<form action="<? bloginfo('url'); ?>" method="get"> <select name="page_id" id="page_id"> <?php global $post; $posts = get_posts($args); foreach( $posts as $post ) : setup_postdata($post); ?> <?php endforeach; ?> </select> <input type="submit" name="submit" value="view" /> </form>
You need to login to post a comment.
