<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Fred Jones ha scritto:
<blockquote
 cite="mid:177c0a11003030328u47b4881fl1b88e3d42799b482@mail.gmail.com"
 type="cite">
  <blockquote type="cite">
    <pre wrap=""><a class="moz-txt-link-freetext" href="http://api.drupal.org/api/function/db_query/6">http://api.drupal.org/api/function/db_query/6</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
What about when doing node_load() and displaying HTML?</pre>
</blockquote>
Attention: node_load() is not the step when node is rendered. <br>
Install "devel" module and you can see two new tabs for every node: 
"Dev Load" and "Dev Render".<br>
The first contains data of the node when it is loaded and the second
contains the node's data when it's rendered (for display/html).<br>
<br>
<br>
<blockquote
 cite="mid:177c0a11003030328u47b4881fl1b88e3d42799b482@mail.gmail.com"
 type="cite">
  <pre wrap=""> I never can
find the function to clean up HTML for XXS and whatever before
displaying...
  </pre>
</blockquote>
you need to use "input filter" and the function to use is "<code>check_markup".<br>
<br>
M.<br>
</code>
<pre class="moz-signature" cols="72">-- 
Michel 'ZioBudda' Morelli                       <a class="moz-txt-link-abbreviated" href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

<a class="moz-txt-link-freetext" href="http://www.ziobudda.net">http://www.ziobudda.net</a>                         ICQ: 58351764  
<a class="moz-txt-link-freetext" href="http://www.ziobuddalabs.it">http://www.ziobuddalabs.it</a>                      Skype: zio_budda
<a class="moz-txt-link-freetext" href="http://www.ziodrupal.net">http://www.ziodrupal.net</a>                               MSN: <a class="moz-txt-link-abbreviated" href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>                   
                                                JABBER: <a class="moz-txt-link-abbreviated" href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>
</pre>
</body>
</html>