On Sun, Apr 19, 2009 at 11:46 PM, Shai Gluskin shai@content2zero.comwrote:
Nikhil,
In Drupal 6 you need to turn on the ability to use PHP inline by turning on that module in the core/optional section of the module list page.
Then you need to allow that imput format for a particular role. However, you don't need to do that part if you just want user/1 to be able to add php code.
You add a custom block and click the php radio under imput format.
bleh :P it is not a good practice to do.
It is not recommended to use PHP code in blocks it my break your site, create a new module, write hook_block function and use it.