Page 1 of 1

inserting PHP Block into template

Posted: Wed Oct 23, 2013 10:56 am
by d4ngermouse
Hi There, I hope I have the correct section of the forum for my question.

I need to put the following block of php into my cmsms template but when I do the code doesn't seem to work.

Any help would be appreciated!

Code: Select all

<?php
$type=1; 
$text1="<p>Some text here</p>";
$text2="<p>Some more text here</p>";
include "booking.php";
?>

Re: inserting PHP Block into template

Posted: Wed Oct 23, 2013 11:31 am
by Rolf

Re: inserting PHP Block into template

Posted: Wed Oct 23, 2013 12:14 pm
by d4ngermouse
That looks perfect! I'll take a look. Cheers :D