diff --git a/functions/fbsql.xml b/functions/fbsql.xml index aaac13b370..cdf3fec20f 100644 --- a/functions/fbsql.xml +++ b/functions/fbsql.xml @@ -8,7 +8,7 @@ with fbsql support by using the option. If you use this option without specifying the path to fbsql, php will - search for the fbsql client libraries in the default instalation + search for the fbsql client libraries in the default installation location for the platform. Users who installed FrontBase in a non standard directory should always specify the path to fbsql: . @@ -153,7 +153,7 @@ Description - int fbsql_close + boolean fbsql_close int link_identifier @@ -162,7 +162,7 @@ - Returns: true on success, false on error. + Returns: TRUE on success, FALSE on error. fbsql_close closes the connection to the FrontBase server that's associated with the specified link @@ -203,7 +203,7 @@ Description - int fbsql_connect + resource fbsql_connect string hostname @@ -316,13 +316,13 @@ Description - int fbsql_data_seek + boolean fbsql_data_seek int result_identifier int row_number - Returns: true on success, false on failure. + Returns: TRUE on success, FALSE on failure. fbsql_data_seek moves the internal row @@ -378,7 +378,7 @@ Description - int fbsql_db_query + resource fbsql_db_query string database string query int @@ -390,7 +390,7 @@ Returns: A positive FrontBase result identifier to the query result, - or false on error. + or FALSE on error. fbsql_db_query selects a database and @@ -415,7 +415,7 @@ Description - int fbsql_drop_db + boolean fbsql_drop_db string database_name int @@ -425,7 +425,7 @@ - Returns: true on success, false on failure. + Returns: TRUE on success, FALSE on failure. fbsql_drop_db attempts to drop (remove) an @@ -557,7 +557,7 @@ echo fbsql_errno().": ".fbsql_error()."<BR>"; - Returns an array that corresponds to the fetched row, or false + Returns an array that corresponds to the fetched row, or FALSE if there are no more rows. fbsql_fetch_array is an extended version of @@ -628,7 +628,7 @@ fbsql_free_result ($result); Returns an associative array that corresponds to the fetched row, - or false if there are no more rows. + or FALSE if there are no more rows. fbsql_fetch_assoc is equivalent to calling fbsql_fetch_array with FBSQL_ASSOC for the @@ -785,7 +785,7 @@ fbsql_free_result ($result); Returns: An array that corresponds to the lengths of each field in the last row fetched by fbsql_fetch_row, - or false on error. + or FALSE on error. fbsql_fetch_lengths stores the lengths of @@ -821,7 +821,7 @@ fbsql_free_result ($result); Returns an object with properties that correspond to the fetched - row, or false if there are no more rows. + row, or FALSE if there are no more rows. fbsql_fetch_object is similar to @@ -876,7 +876,7 @@ fbsql_free_result ($result); - Returns: An array that corresponds to the fetched row, or false + Returns: An array that corresponds to the fetched row, or FALSE if there are no more rows. @@ -887,7 +887,7 @@ fbsql_free_result ($result); Subsequent call to fbsql_fetch_row would - return the next row in the result set, or false if there are no + return the next row in the result set, or FALSE if there are no more rows. @@ -1444,7 +1444,7 @@ echo "$num_rows Rows\n"; Returns: A positive FrontBase persistent link identifier on success, - or false on error. + or FALSE on error. fbsql_pconnect establishes a connection @@ -1511,16 +1511,16 @@ echo "$num_rows Rows\n"; - fbsql_query returns TRUE (non-zero) or FALSE + fbsql_query returns TRUE (non-zero) or FALSE to indicate whether or not the query succeeded. A return value - of TRUE means that the query was legal and could be executed by + of TRUE means that the query was legal and could be executed by the server. It does not indicate anything about the number of rows affected or returned. It is perfectly possible for a query to succeed but affect no rows or return no rows. The following query is syntactically invalid, so - fbsql_query fails and returns FALSE: + fbsql_query fails and returns FALSE: <function>fbsql_query</function> @@ -1535,7 +1535,7 @@ $result = fbsql_query ("SELECT * WHERE 1=1") The following query is semantically invalid if my_col is not a column in the table my_tbl, so fbsql_query - fails and returns FALSE: + fails and returns FALSE: <function>fbsql_query</function> @@ -1547,7 +1547,7 @@ $result = fbsql_query ("SELECT my_col FROM my_tbl") - fbsql_query will also fail and return FALSE + fbsql_query will also fail and return FALSE if you don't have permission to access the table(s) referenced by the query. @@ -1647,7 +1647,7 @@ $result = fbsql_query ("SELECT my_col FROM my_tbl") - Returns: true on success, false on error. + Returns: TRUE on success, FALSE on error. fbsql_select_db sets the current active @@ -1726,7 +1726,7 @@ while ($i < fbsql_num_rows ($result)) { - Returns: true if warnings is turned on otherwise false. + Returns: TRUE if warnings is turned on otherwise FALSE. fbsql_warnings enables or disables FrontBase