I'm using v3.6.4 and trying to put some PHP code in a seperate .php page but need to know what the code is to include the header and footer details so that the file looks just like a normal page with all the header,footer and other elements of the page.
I tried using the following but it doesn't work.
<?php get_header(); ?>
<?php
MY CODE
?>
<?php get_footer(); ?>