<br><br><div class="gmail_quote">On Sun, Apr 19, 2009 at 11:46 PM, Shai Gluskin <span dir="ltr">&lt;<a href="mailto:shai@content2zero.com">shai@content2zero.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Nikhil,<br><br>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.<br><br>Then you need to allow that imput format for a particular role. However, you don&#39;t need to do that part if you just want user/1 to be able to add php code.<br>

<br>You add a custom block and click the php radio under imput format.</blockquote><div><br>bleh :P it is not a good practice to do. <br><br>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. <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br></blockquote></div><br clear="all"><br>-- <br>Thanks a lot <br>-----------------------------------------<br>
<a href="http://ubuntuslave.blogspot.com/">http://ubuntuslave.blogspot.com/</a><br><br>