<HTML ><HEAD ><TITLE >udm_get_res_field</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_get_doc_count" HREF="function.udm-get-doc-count.html"><LINK REL="NEXT" TITLE="udm_get_res_param" HREF="function.udm-get-res-param.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-get-doc-count.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-get-res-param.html" ACCESSKEY="N" >Siguiente</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.udm-get-res-field" ></A >udm_get_res_field</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN46317" ></A ><P > (PHP 4 >= 4.0.5)</P >udm_get_res_field -- Fetch mnoGoSearch result field</DIV ><DIV CLASS="refsect1" ><A NAME="AEN46320" ></A ><H2 >Description</H2 >string <B CLASS="methodname" >udm_get_res_field</B > ( int res, int row, int field)<BR ></BR ><P > <B CLASS="function" >udm_get_res_field()</B > returns result field value on success, <TT CLASS="constant" ><B >FALSE</B ></TT > on error. </P ><P > <TT CLASS="parameter" ><I >res</I ></TT > - a link to result identifier, received after call to <A HREF="function.udm-find.html" ><B CLASS="function" >udm_find()</B ></A >. </P ><P > <TT CLASS="parameter" ><I >row</I ></TT > - the number of the link on the current page. May have values from 0 to <TT CLASS="parameter" ><I >UDM_PARAM_NUM_ROWS-1</I ></TT >. </P ><P > <TT CLASS="parameter" ><I >field</I ></TT > - field identifier, may have the following values: </P ><P ></P ><UL ><LI ><P > UDM_FIELD_URL - document URL field </P ></LI ><LI ><P > UDM_FIELD_CONTENT - document Content-type field (for example, text/html). </P ></LI ><LI ><P > UDM_FIELD_CATEGORY - document category field. Use <A HREF="function.udm-cat-path.html" ><B CLASS="function" >udm_cat_path()</B ></A > to get full path to current category from the categories tree root. (This parameter is available only in PHP 4.0.6 or later). </P ></LI ><LI ><P > UDM_FIELD_TITLE - document title field. </P ></LI ><LI ><P > UDM_FIELD_KEYWORDS - document keywords field (from META KEYWORDS tag). </P ></LI ><LI ><P > UDM_FIELD_DESC - document description field (from META DESCRIPTION tag). </P ></LI ><LI ><P > UDM_FIELD_TEXT - document body text (the first couple of lines to give an idea of what the document is about). </P ></LI ><LI ><P > UDM_FIELD_SIZE - document size. </P ></LI ><LI ><P > UDM_FIELD_URLID - unique URL ID of the link. </P ></LI ><LI ><P > UDM_FIELD_RATING - page rating (as calculated by mnoGoSearch). </P ></LI ><LI ><P > UDM_FIELD_MODIFIED - last-modified field in unixtime format. </P ></LI ><LI ><P > UDM_FIELD_ORDER - the number of the current document in set of found documents. </P ></LI ><LI ><P > UDM_FIELD_CRC - document CRC. </P ></LI ></UL ></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-get-doc-count.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-get-res-param.html" ACCESSKEY="N" >Siguiente</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >udm_get_doc_count</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_get_res_param</TD ></TR ></TABLE ></DIV ></BODY ></HTML >