Title: Php inside a php
Last modified: August 19, 2016

---

# Php inside a php

 *  [migbrasil](https://wordpress.org/support/users/migbrasil/)
 * (@migbrasil)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/php-inside-a-php/)
 * How do i put this php code:
 * `<? echo($cortam); ?>`
 * inside of this one: (where it says HERE)
 * `<?php include (TEMPLATEPATH . '/HERE.php'); ?>`
 * sorry im not familiar w/ php

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/php-inside-a-php/#post-1098885)
 * Use a [text editor](http://codex.wordpress.org/Glossary#Text_editor) and create
   a file called here.php, and put this in the file:
 *     ```
       <?php
       echo($cortam);
       ?>
       ```
   
 * Then upload that file to your theme folder:
 *  [stevenoi](https://wordpress.org/support/users/stevenoi/)
 * (@stevenoi)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/php-inside-a-php/#post-1098901)
 * Or maybe this : `
    <?php echo( $cortam ); {include(TEMPLATEPATH.’/single-portfolio.
   php’); } ?> `

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Php inside a php’ is closed to new replies.

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [stevenoi](https://wordpress.org/support/users/stevenoi/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/php-inside-a-php/#post-1098901)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
