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.<br><br>Remember it is possible to crash your whole site with a php error. Make sure you back up your database before putting php in a block.<br><br>Shai<br>
<br><div class="gmail_quote">On Fri, Apr 17, 2009 at 2:05 PM, Nikhil Kala <span dir="ltr">&lt;<a href="mailto:nikhilrkale@gmail.com">nikhilrkale@gmail.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;">
Hello All,<br><br>This might be very easy question for some of you, I want to display database values into the php block<br>How I can do this?  <br>Can I user normal php coding same in drupal block OR I need to any extra steps for it.<br>

<br><br><br clear="all">Thanks &amp; Regards,<br><font color="#888888">Nikhil Kala<br><a href="http://www.nikhilkala.com" target="_blank">http://www.nikhilkala.com</a><br><a href="http://www.brainyquote.com/quotes/authors/a/arnold_schwarzenegger.html" target="_blank"></a><br>

</font><br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br>