Hello, I'm Willians, living in Brazil and do not know English law, then not repair the errors. :D<br> I starting the develop for drupal, know a little of PHP, mysql. I am reading the book Pro Drupal Development, and the example of the book "chapter 2", I am not understanding the code right.
<br> More specifically, the function where return the datas. that is annotate_nodeapi(&$node, $op, $teaser, $page), when return the result of the database, this code: <br> $node->annotation = db_result($result);
<br> No is showing, the result in screnn, should be :<br> <br> $node->content['annotation_form'] = array( <br> '#value' => drupal_get_form('annotate_entry_form', $node->annotation),
<br> '#weight' => 10 <br> ); <br><br clear="all"> Someone knows where my erros ??<br><br> Thank you, all... :D<br><br>willians<br><br>-- <br><a href="http://www.ecommunita.com/">http://www.ecommunita.com/
</a>