Title: Using PHP Code
Last modified: August 20, 2016

---

# Using PHP Code

 *  [pbdesigns](https://wordpress.org/support/users/pbdesigns/)
 * (@pbdesigns)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/using-php-code/)
 * Hi
 * It’d be great to use PHP code within the form field for the post body.
 * For example, my affiliate feed has an RRP price and the actual price it’s selling
   for.
 * So if the actual price is lower than the RRP, I’d like to display the RRP. But
   I don’t want to display the RRP when it’s the same price.
 * This can be done easily with PHP – but when I tried it, it outputted the PHP 
   code I’d written.
 * Could this be possible please?
 * [http://wordpress.org/extend/plugins/affiliate-hoover/](http://wordpress.org/extend/plugins/affiliate-hoover/)

The topic ‘Using PHP Code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/affiliate-hoover_c9c1b8.svg)
 * [Affiliate Hoover](https://wordpress.org/plugins/affiliate-hoover/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/affiliate-hoover/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/affiliate-hoover/)
 * [Active Topics](https://wordpress.org/support/plugin/affiliate-hoover/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/affiliate-hoover/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/affiliate-hoover/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [pbdesigns](https://wordpress.org/support/users/pbdesigns/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/using-php-code/)
 * Status: not resolved