Title: Using PHP in the HTML Editor
Last modified: August 19, 2016

---

# Using PHP in the HTML Editor

 *  [chrisuk01](https://wordpress.org/support/users/chrisuk01/)
 * (@chrisuk01)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/using-php-in-the-html-editor/)
 * Hi,
 * I am trying to write php in the HTML editor so I can populate a HTML table with
   SQL. The tables are adhoc so I cannot just see how I can manipulate the php templates?
 * Does anyone know how to do this when I add the <?php and the code it just appears
   as text on the page?
 * Cheers
 * ChrisUK01

Viewing 1 replies (of 1 total)

 *  [figaro](https://wordpress.org/support/users/figaro/)
 * (@figaro)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/using-php-in-the-html-editor/#post-974804)
 * Try this plugin.
 * [http://wordpress.org/extend/plugins/exec-php/](http://wordpress.org/extend/plugins/exec-php/)

Viewing 1 replies (of 1 total)

The topic ‘Using PHP in the HTML Editor’ is closed to new replies.

## Tags

 * [html editor](https://wordpress.org/support/topic-tag/html-editor/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [figaro](https://wordpress.org/support/users/figaro/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/using-php-in-the-html-editor/#post-974804)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
