<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >px_get_parameter</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="PHP 手册" HREF="index.html"><LINK REL="UP" TITLE="Paradox File Access" HREF="ref.paradox.html"><LINK REL="PREVIOUS" TITLE="px_get_info" HREF="function.px-get-info.html"><LINK REL="NEXT" TITLE="px_get_record" HREF="function.px-get-record.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></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" >PHP 手册</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.px-get-info.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.px-get-record.html" ACCESSKEY="N" >下一页</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.px-get-parameter" ></A >px_get_parameter</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN167571" ></A ><P > (PECL)</P >px_get_parameter -- Gets a parameter</DIV ><DIV CLASS="refsect1" ><A NAME="AEN167574" ></A ><H2 >说明</H2 >string <B CLASS="methodname" >px_get_parameter</B > ( resource pxdoc, string name )<BR ></BR ><P > Gets various parameters. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN167586" ></A ><H2 >参数</H2 ><P > <P ></P ><DIV CLASS="variablelist" ><DL ><DT ><CODE CLASS="parameter" >pxdoc</CODE ></DT ><DD ><P > Resource identifier of the paradox database as returned by <A HREF="function.px-new.html" ><B CLASS="function" >px_new()</B ></A >. </P ></DD ><DT ><CODE CLASS="parameter" >name</CODE ></DT ><DD ><P > The <CODE CLASS="parameter" >name</CODE > can be one of the following: </P ><P ></P ><DIV CLASS="variablelist" ><DL ><DT >tablename</DT ><DD ><P > The name of the table as it will be stored in the database header. </P ></DD ><DT >targetencoding</DT ><DD ><P > The encoding for the output. Data which is being read from character fields with <A HREF="function.px-get-record.html" ><B CLASS="function" >px_get_record()</B ></A > or <A HREF="function.px-retrieve-record.html" ><B CLASS="function" >px_retrieve_record()</B ></A > is recoded into the targetencoding. If it is not set, then the data will be delivered as stored in the database file. </P ></DD ><DT >inputencoding</DT ><DD ><P > The encoding of the input data which is to be stored into the database. When storing data of character fields in the database, the data is expected to be delivered in this encoding. </P ></DD ></DL ></DIV ></DD ></DL ></DIV > </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN167617" ></A ><H2 >返回值</H2 ><P > Returns the value of the parameter or <TT CLASS="constant" ><B >FALSE</B ></TT > on failure. </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.px-get-info.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >起始页</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.px-get-record.html" ACCESSKEY="N" >下一页</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >px_get_info</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.paradox.html" ACCESSKEY="U" >上一级</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >px_get_record</TD ></TR ></TABLE ></DIV ></BODY ></HTML >