tailieunhanh - PHP Developer's Dictionary- P82
PHP Developer's Dictionary- P82:PHP is an open source, server-side, HTML-embedded scripting language used to create dynamically generated Web pages. With an easy-to-use syntax and a large, extensible library of modules, PHP brings together the best of Perl, C++, and other languages. | PHP Developer s Dictionary Description The ifx_query function which is available in PHP through PHP along with PHP and higher sends a query to the currently active database on the server indicated by the iink_identifier parameter. If no iink_identifier is used an attempt is made to use the last opened link. If no open links are available the function tries to establish a connection to the database. The optional cursor_type parameter is used to set the cursor processing to scroll hold sequential or a combination of scroll and hold. To set scroll cursor processing specify ifx_scroll and to set hold use ifx_hold these are constant values that don t need quotes around them. If you want to use both scroll and hold or these two values together. The default for this parameter is sequential cursor processing. If you have BLOB columns in the query you should specify their IDs in the blobidarray parameter and substitute question marks in the query statement. If the contents of the TEXT or BYTE column allow it you can also use ifx_textasvarchar 1 and ifx_byteasvarchar 1 . This enables you to treat TEXT or BYTE columns as though they were long VARCHAR columns for select queries thus avoiding the use of BLOB IDs. If the previous shortcut is not used the query will return BLOB columns as BLOB IDs. ifx_prepare Syntax int ifx_prepare string query int conn id int cursor def mixed blobidarray Description The ifx_prepare function which is available in PHP through PHP along with PHP and higher prepares a query on the database indicated by the conn_id parameter. The optional cursor_type parameter is used to set the cursor processing to scroll hold sequential or a combination of scroll and hold. To set scroll cursor processing specify ifx_scroll and to set hold use IFX_HOLD these are constant values that don t need quotes around them. If you want to use both scroll and hold or these two values together. The default for this parameter is sequential .
đang nạp các trang xem trước