PHP in HTML

Permalink
I would like to put PHP in the code block on my website, but it didn't work. I put this it:
<?php  echo "This was written using PHP code."  ?>


Did I do anything wrong?

EDIT: never mind. I figured it out.

EngineerofStuff
 
HardOne replied on at Permalink Best Answer Reply
HardOne
I guess you try to put your php code into the html block. As the name tells you, this won't work.
In the marketplace you'll find a free add on:http://www.concrete5.org/marketplace/addons/simple-php-block/...

I hope this will help you a little.