Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > a34ed6838d4b29d38abd504392a4a797 > files > 2767

php-manual-es-4.3.0-2mdk.noarch.rpm

<HTML
><HEAD
><TITLE
>udm_find</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Manual de PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="mnoGoSearch Functions"
HREF="ref.mnogo.html"><LINK
REL="PREVIOUS"
TITLE="udm_error"
HREF="function.udm-error.html"><LINK
REL="NEXT"
TITLE="udm_free_agent"
HREF="function.udm-free-agent.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-1"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Manual de PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.udm-error.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.udm-free-agent.html"
ACCESSKEY="N"
>Siguiente</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.udm-find"
></A
>udm_find</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN46214"
></A
><P
>    (PHP 4 &#62;= 4.0.5)</P
>udm_find&nbsp;--&nbsp;Perform search</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN46217"
></A
><H2
>Description</H2
>int <B
CLASS="methodname"
>udm_find</B
> ( int agent, string query)<BR
></BR
><P
>&#13;    <B
CLASS="function"
>udm_find()</B
> returns result link identifier on 
    success, <TT
CLASS="constant"
><B
>FALSE</B
></TT
> on error.
   </P
><P
>&#13;    The search itself. The first argument - session, the next one -
    query itself.  To find something just type words you want to find
    and press SUBMIT button.  For example, "mysql odbc". You should
    not use quotes " in query, they are written here only to divide a
    query from other text. mnoGoSearch will find all documents that
    contain word "mysql" and/or word "odbc".  Best documents having
    bigger weights will be displayed first.  If you use search mode
    ALL, search will return documents that contain both (or more)
    words you entered. In case you use mode ANY, the search will
    return list of documents that contain any of the words you
    entered.  If you want more advanced results you may use query
    language.  You should select "bool" match mode in the search
    from.
   </P
><P
>&#13;    mnoGoSearch understands the following boolean operators:
   </P
><P
>&#13;    &#38; - logical AND. For example, "mysql &#38;
    odbc". mnoGoSearch will find any URLs that contain both
    "mysql" and "odbc".
   </P
><P
>&#13;    | - logical OR. For example "mysql|odbc". mnoGoSearch
    will find any URLs, that contain word "mysql" or word
    "odbc".
   </P
><P
>&#13;    ~ - logical NOT. For example "mysql &#38; ~odbc".
    mnoGoSearch will find URLs that contain word "mysql"
    and do not contain word "odbc" at the same time. Note
    that ~ just excludes given word from results.  Query
    "~odbc" will find nothing!
   </P
><P
>&#13;    () - group command to compose more complex queries.  For example
    "(mysql | msql) &#38; ~postgres".  Query language is
    simple and powerful at the same time. Just consider query as
    usual boolean expression.
   </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.udm-error.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Inicio</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.udm-free-agent.html"
ACCESSKEY="N"
>Siguiente</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>udm_error</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.mnogo.html"
ACCESSKEY="U"
>Subir</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>udm_free_agent</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>