Title: Adding Custom PHP page.
Last modified: August 20, 2016

---

# Adding Custom PHP page.

 *  [jibranyousafzai](https://wordpress.org/support/users/jibranyousafzai/)
 * (@jibranyousafzai)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/adding-custom-php-page/)
 * Hi,
 * I need your guys opinions on whats the best way to create custom PHP pages.
 * I needed a custom PHP page which I could use to generate a select drop down items(
   <option></option>) from a table in the database. I just went and created a page
   in WP-Admin and made it use a custom template called “Selects” (which I have 
   a selects.php for it)
 * I am just wondering is this a correct a good way to use for custom PHP pages?
 * Many Thnaks

Viewing 1 replies (of 1 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/adding-custom-php-page/#post-2179948)
 * Might look at:
    [http://wordpress.org/extend/plugins/shortcode-exec-php/](http://wordpress.org/extend/plugins/shortcode-exec-php/)

Viewing 1 replies (of 1 total)

The topic ‘Adding Custom PHP page.’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/adding-custom-php-page/#post-2179948)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
