Blank page on creating a page on production site
I am trying to create a page with some php code. I works fine but when I use a custom function in code then after clicking the save button it display a blank white page.
I have written the code in body field of a page.
Here is my code
<code><br />
$vid = 26;<br />
print $vid;<br />
print xyz();<br />
function xyz() {<br />
return 'xyz';<br />
}<br />
</code>
Blank page on creating a page on production site
===

I am trying to create a page with some php code. I works fine but when I use a custom function in code then after clicking the save button it display a blank white page.
I have written the code in body field of a page.
Here is my code
<code><br />
$vid = 26;<br />
print $vid;<br />
print xyz();<br />
function xyz() {<br />
return 'xyz';<br />
}<br />
</code>