Re: [PHP-DOC] question From: Damien Seguy (damien.seguy <email protected>)
Date: 02/22/01

Hi
>Hey All!
 
>How do I add this kind of example to an xml file? Which tags do I use?
>if (!Udm_Set_Agent_Param($udm,UDM_PARAM_ISPELL_MODE,UDM_ISPELL_MODE_DB)) {
> printf("Error #%d: '%s'\n",$errno,Udm_Error($udm));
> exit;
> }
Try this :
<example>
 <programlisting role="php">
&lt;?php
if (!Udm_Set_Agent_Param($udm,UDM_PARAM_ISPELL_MODE,UDM_ISPELL_MODE_DB)) {
          printf("Error #%d: '%s'\n",$errno,Udm_Error($udm));
          exit;
    }
?&gt;
 </programlisting>
</example>

Best regards,
Damien Seguy
====================================
http://www.nexen.net/
l'hebergement dynamique !
Docs PHP/MySQL en Francais, scripts
====================================