Title: PHP vs HTML
Last modified: August 19, 2016

---

# PHP vs HTML

 *  [viralbytes](https://wordpress.org/support/users/viralbytes/)
 * (@viralbytes)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/php-vs-html/)
 * Hi, I am a complete novice and newbie at website building which is why of course
   I choose to use WORDPRESS in the first place.
 * I have constructed a website ([http://buying-wine-online.com](http://buying-wine-online.com))
   on which I wish to sell wine products. These products are shown on my website
   using widgets I get from various affiliation programs.
 * And this is where I am confused and need help.
 * I have recieved notice of some Special Offers and given the following;
 * PHP Code:
    [http://www.awin1.com/cread.php?awinmid=1546&awinaffid=116399&clickref=&p=http%3A%2F%2Fwww.majestic.co.uk%2Ffind%2Fkeyword-is-Top%2B10%2BDeals%2Fproduct-is-22348](http://www.awin1.com/cread.php?awinmid=1546&awinaffid=116399&clickref=&p=http%3A%2F%2Fwww.majestic.co.uk%2Ffind%2Fkeyword-is-Top%2B10%2BDeals%2Fproduct-is-22348)
 * I have made a new page called SPECIAL OFFERS and inserted this code (and others)
   in to it.
 * As you will see, all I get is text showing.
 * My two questions are;
    1. How do I use this code correctly so a widget shows 
   2. What is the differance between PHP and HTML and where do I use PHP code in
   the Theme WP 1.6.1
 * Many thanks.. Viral

Viewing 1 replies (of 1 total)

 *  [metaprinter](https://wordpress.org/support/users/metaprinter/)
 * (@metaprinter)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/php-vs-html/#post-1889690)
 * HTML = Hypertext Transfer Protocol
    PHP = Hypertext Preprocessor
 * HTML gets executed and rendered in the browser
    PHP gets executed on a server
   then rendered in the browser
 * Out of the box, wordpress cannot execute php in a page, post or widget. You need
   a widget like [http://wordpress.org/extend/plugins/exec-php/](http://wordpress.org/extend/plugins/exec-php/)

Viewing 1 replies (of 1 total)

The topic ‘PHP vs HTML’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [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: [metaprinter](https://wordpress.org/support/users/metaprinter/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/php-vs-html/#post-1889690)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
