# Master Page with extension .PHP don't managed properly

**URL:** <https://forum.pinegrow.com/t/master-page-with-extension-php-dont-managed-properly/1825>\
**Category:** Bug Reports\
**Created:** [April 25, 2018, 7:50am UTC](https://forum.pinegrow.com/t/master-page-with-extension-php-dont-managed-properly/1825 "2018-04-25T07:50:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![micheleSaltori](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/michelesaltori/32/1146_2.png) [@micheleSaltori](https://forum.pinegrow.com/u/micheleSaltori)\
**Post date:** [April 25, 2018, 7:50am UTC](https://forum.pinegrow.com/t/master-page-with-extension-php-dont-managed-properly/1825/1 "2018-04-25T07:50:30Z")

</div>

I’ve created a Master Page .php containing html page code.  
On top page code I have inserted php script tags:

> \<?php   
> //code   
> ?\> 
> 
> \<!doctype html\>
> 
> ..........

Using this Master Page it work fine if I not using in the ‘slave page’ any php command placed in the “Master” php tags. eg:

> \<?php   
> &nbsp; //code   
> &nbsp; include 'somescript.php';   
> ?\> 
> 
> \<!doctype html\>
> 
> ..........

PHP work fine, but updating Master Page, the content of php script in slave page is cleaned. After Master Page is updated, slave page is:

> \<?php   
> &nbsp; //code   
> ?\>   
> 
> \<!doctype html\>
> 
> ..........

_I’m sorry, it’s possible insert code in the post instead of quote it? Because html tags cannot be showed._
