When I try to post an article with the string "<?php" , Drupal detects it as code injection and blocks my post. I can't publish anything with "<?php" on it.

how can I include php code (only text, not execute) in my posts?

Comments

Niyas’s picture

You should use the "php" option available in editor. You can place your code like this

hai