hi
i am using drupal 5, i need to know how to include a php file inside a block content.
i tried using include_once('myfile.php');
the myfile.php contains a form made of forms api
i need 2 bring the form in a block.
how do i do that?

Comments

pbarnett’s picture

Create a block. Set the input type to PHP code, and paste your code like this your code here