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">
<?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;
}
?>
</programlisting>
</example>
Best regards,
Damien Seguy
====================================
http://www.nexen.net/
l'hebergement dynamique !
Docs PHP/MySQL en Francais, scripts
====================================