Re: question
| From: | Damien Seguy | Date: | Thu, 22 Feb 2001 14:22:32 +0000 |
| Subject: | Re: question | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969334391@lists.php.net to get a copy of this message | ||
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
====================================