From 2fb51efc7135949bdac553756d496235c4eefa5e Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Tue, 20 May 2008 14:59:05 +0000 Subject: [PATCH] implemented new doc style, changelog, parameter info, and general cleanup. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@260047 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/uodbc/functions/odbc-execute.xml | 112 ++++++++++++++------- 1 file changed, 74 insertions(+), 38 deletions(-) diff --git a/reference/uodbc/functions/odbc-execute.xml b/reference/uodbc/functions/odbc-execute.xml index ace233ae8f..3001a8dc52 100644 --- a/reference/uodbc/functions/odbc-execute.xml +++ b/reference/uodbc/functions/odbc-execute.xml @@ -1,55 +1,50 @@ - - + odbc_execute Execute a prepared statement - - Description + + + &reftitle.description; boolodbc_execute resourceresult_id arrayparameters_array - Executes a statement prepared with - odbc_prepare.&return.success; The array - parameters_array only needs to be given if - you really have parameters in your statement. + Executes a statement prepared with odbc_prepare. + + + + &reftitle.parameters; - Parameters in parameter_array will be - substituted for placeholders in the prepared statement in order. - Elements of this array will be converted to strings by calling this - function. - - - Any parameters in parameter_array which - start and end with single quotes will be taken as the name of a - file to read and send to the database server as the data for the - appropriate placeholder. - - - - As of PHP 4.1.1, this file reading functionality has the - following restrictions: - + + + result_id - - File reading is not subject to any - &safemode; or open-basedir - restrictions. This is fixed in PHP 4.2.0. - - - - - Remote files - are not supported. - + + The result id resource, from odbc_prepare. + + + + parameters_array + + Parameters in parameter_array will be + substituted for placeholders in the prepared statement in order. + Elements of this array will be converted to strings by calling this + function. + + + Any parameters in parameter_array which + start and end with single quotes will be taken as the name of a + file to read and send to the database server as the data for the + appropriate placeholder. + If you wish to store a string which actually begins and ends with single quotes, you must add a space or other non-single-quote character @@ -59,10 +54,51 @@ executing the query directly with odbc_exec). - - - + + + + + + &reftitle.returnvalues; + + &return.success;. + + + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 4.2.0 + + File reading is now subject to &safemode; and + open-basedir restrictions + in parameters_array. + + + + 4.1.1 + + Remote files + are no longer supported in parameters_array. + + + + + + + +