WordPress.org

Ready to get started?Download WordPress

Forums

Php inside a php (3 posts)

  1. migbrasil
    Member
    Posted 5 years ago #

    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

  2. MichaelH
    Member
    Posted 5 years ago #

    Use a 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:

  3. stevenoi
    Member
    Posted 5 years ago #

    Or maybe this : `
    <?php echo( $cortam ); {include(TEMPLATEPATH.'/single-portfolio.php');
    } ?>
    `

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags