How to add custom PHP codes in my Drupal pages or blocks?

Submitted by: Muhammad
By default, drupal will not allow inserting PHP code directly inside a post or in a block. To do this, you need to activate a drupal module called PHP filter via, Administer Site building Modules. Even though this module ships with drupal, it remains disabled by default.
Submitted by: Muhammad

Read Online Drupal Job Interview Questions And Answers