* Open MS SQL server connection * @link https://php.net/manual/en/function.mssql-connect.php * @param string $servername [optional]

* The MS SQL server. It can also include a port number, e.g. * hostname:port (Linux), or * hostname,port (Windows). *

* @param string $username [optional]

* The username. *

* @param string $password [optional]

* The password. *

* @param bool $new_link [optional]

* If a second call is made to mssql_connect with the * same arguments, no new link will be established, but instead, the link * identifier of the already opened link will be returned. This parameter * modifies this behavior and makes mssql_connect * always open a new link, even if mssql_connect was * called before with the same parameters. *

* @return resource|false a MS SQL link identifier on success, or false on error. * @removed 7.0 */ function mssql_connect($servername = null, $username = null, $password = null, $new_link = false) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Open persistent MS SQL connection * @link https://php.net/manual/en/function.mssql-pconnect.php * @param string $servername [optional]

* The MS SQL server. It can also include a port number. e.g. * hostname:port. *

* @param string $username [optional]

* The username. *

* @param string $password [optional]

* The password. *

* @param bool $new_link [optional]

* If a second call is made to mssql_pconnect with * the same arguments, no new link will be established, but instead, the * link identifier of the already opened link will be returned. This * parameter modifies this behavior and makes * mssql_pconnect always open a new link, even if * mssql_pconnect was called before with the same * parameters. *

* @return resource|false a positive MS SQL persistent link identifier on success, or * false on error. * @removed 7.0 */ function mssql_pconnect($servername = null, $username = null, $password = null, $new_link = false) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Close MS SQL Server connection * @link https://php.net/manual/en/function.mssql-close.php * @param resource $link_identifier [optional]

* A MS SQL link identifier, returned by * mssql_connect. *

*

* This function will not close persistent links generated by * mssql_pconnect. *

* @return bool true on success or false on failure. * @removed 7.0 */ function mssql_close($link_identifier = null) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Select MS SQL database * @link https://php.net/manual/en/function.mssql-select-db.php * @param string $database_name

* The database name. *

*

* To escape the name of a database that contains spaces, hyphens ("-"), * or any other exceptional characters, the database name must be * enclosed in brackets, as is shown in the example, below. This * technique must also be applied when selecting a database name that is * also a reserved word (such as primary). *

* @param resource $link_identifier [optional]

* A MS SQL link identifier, returned by * mssql_connect or * mssql_pconnect. *

*

* If no link identifier is specified, the last opened link is assumed. * If no link is open, the function will try to establish a link as if * mssql_connect was called, and use it. *

* @return bool true on success or false on failure. * @removed 7.0 */ function mssql_select_db($database_name, $link_identifier = null) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Send MS SQL query * @link https://php.net/manual/en/function.mssql-query.php * @param string $query

* An SQL query. *

* @param resource $link_identifier [optional]

* A MS SQL link identifier, returned by * mssql_connect or * mssql_pconnect. *

*

* If the link identifier isn't specified, the last opened link is * assumed. If no link is open, the function tries to establish a link * as if mssql_connect was called, and use it. *

* @param int $batch_size [optional]

* The number of records to batch in the buffer. *

* @return resource|bool a MS SQL result resource on success, true if no rows were * returned, or false on error. * @removed 7.0 */ function mssql_query($query, $link_identifier = null, $batch_size = 0) {} /** * (PHP 4 >= 4.0.4, PHP 5, PECL odbtp >= 1.1.1)
* Returns the next batch of records * @link https://php.net/manual/en/function.mssql-fetch-batch.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @return int the batch number as an integer. * @removed 7.0 */ function mssql_fetch_batch($result) {} /** * (PHP 4 >= 4.0.4, PHP 5, PECL odbtp >= 1.1.1)
* Returns the number of records affected by the query * @link https://php.net/manual/en/function.mssql-rows-affected.php * @param resource $link_identifier

* A MS SQL link identifier, returned by * mssql_connect or * mssql_pconnect. *

* @return int the number of records affected by last operation. * @removed 7.0 */ function mssql_rows_affected($link_identifier) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Free result memory * @link https://php.net/manual/en/function.mssql-free-result.php * @param resource $result

* The result resource that is being freed. This result comes from a * call to mssql_query. *

* @return bool true on success or false on failure. * @removed 7.0 */ function mssql_free_result($result) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Returns the last message from the server * @link https://php.net/manual/en/function.mssql-get-last-message.php * @return string last error message from server, or an empty string if * no error messages are returned from MSSQL. * @removed 7.0 */ function mssql_get_last_message() {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Gets the number of rows in result * @link https://php.net/manual/en/function.mssql-num-rows.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @return int the number of rows, as an integer. * @removed 7.0 */ function mssql_num_rows($result) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Gets the number of fields in result * @link https://php.net/manual/en/function.mssql-num-fields.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @return int the number of fields, as an integer. * @removed 7.0 */ function mssql_num_fields($result) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Get field information * @link https://php.net/manual/en/function.mssql-fetch-field.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @param int $field_offset [optional]

* The numerical field offset. If the field offset is not specified, the * next field that was not yet retrieved by this function is retrieved. The * field_offset starts at 0. *

* @return object an object containing field information. * @removed 7.0 */ function mssql_fetch_field($result, $field_offset = -1) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Get row as enumerated array * @link https://php.net/manual/en/function.mssql-fetch-row.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @return array|false an array that corresponds to the fetched row, or false if there * are no more rows. * @removed 7.0 */ function mssql_fetch_row($result) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Fetch a result row as an associative array, a numeric array, or both * @link https://php.net/manual/en/function.mssql-fetch-array.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @param int $result_type [optional]

* The type of array that is to be fetched. It's a constant and can take * the following values: MSSQL_ASSOC, * MSSQL_NUM, and * MSSQL_BOTH. *

* @return array|false an array that corresponds to the fetched row, or false if there * are no more rows. * @removed 7.0 */ function mssql_fetch_array($result, $result_type = MSSQL_BOTH) {} /** * (PHP 4 >= 4.2.0, PHP 5, PECL odbtp >= 1.1.1)
* Returns an associative array of the current row in the result * @link https://php.net/manual/en/function.mssql-fetch-assoc.php * @param resource $result_id

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @return array an associative array that corresponds to the fetched row, or * false if there are no more rows. * @removed 7.0 */ function mssql_fetch_assoc($result_id) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Fetch row as object * @link https://php.net/manual/en/function.mssql-fetch-object.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @return object an object with properties that correspond to the fetched row, or * false if there are no more rows. * @removed 7.0 */ function mssql_fetch_object($result) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Get the length of a field * @link https://php.net/manual/en/function.mssql-field-length.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @param int $offset [optional]

* The field offset, starts at 0. If omitted, the current field is used. *

* @return int|false The length of the specified field index on success or false on failure. * @removed 7.0 */ function mssql_field_length($result, $offset = null) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Get the name of a field * @link https://php.net/manual/en/function.mssql-field-name.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @param int $offset [optional]

* The field offset, starts at 0. If omitted, the current field is used. *

* @return string|false The name of the specified field index on success or false on failure. * @removed 7.0 */ function mssql_field_name($result, $offset = -1) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Gets the type of a field * @link https://php.net/manual/en/function.mssql-field-type.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @param int $offset [optional]

* The field offset, starts at 0. If omitted, the current field is used. *

* @return string|false The type of the specified field index on success or false on failure. * @removed 7.0 */ function mssql_field_type($result, $offset = -1) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Moves internal row pointer * @link https://php.net/manual/en/function.mssql-data-seek.php * @param resource $result_identifier

* The result resource that is being evaluated. *

* @param int $row_number

* The desired row number of the new result pointer. *

* @return bool true on success or false on failure. * @removed 7.0 */ function mssql_data_seek($result_identifier, $row_number) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Seeks to the specified field offset * @link https://php.net/manual/en/function.mssql-field-seek.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @param int $field_offset

* The field offset, starts at 0. *

* @return bool true on success or false on failure. * @removed 7.0 */ function mssql_field_seek($result, $field_offset) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Get result data * @link https://php.net/manual/en/function.mssql-result.php * @param resource $result

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @param int $row

* The row number. *

* @param mixed $field

* Can be the field's offset, the field's name or the field's table dot * field's name (tablename.fieldname). If the column name has been * aliased ('select foo as bar from...'), it uses the alias instead of * the column name. *

*

* Specifying a numeric offset for the field * argument is much quicker than specifying a * fieldname or * tablename.fieldname argument. *

* @return string the contents of the specified cell. * @removed 7.0 */ function mssql_result($result, $row, $field) {} /** * (PHP 4 >= 4.0.5, PHP 5, PECL odbtp >= 1.1.1)
* Move the internal result pointer to the next result * @link https://php.net/manual/en/function.mssql-next-result.php * @param resource $result_id

* The result resource that is being evaluated. This result comes from a * call to mssql_query. *

* @return bool true if an additional result set was available or false * otherwise. * @removed 7.0 */ function mssql_next_result($result_id) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Sets the minimum error severity * @link https://php.net/manual/en/function.mssql-min-error-severity.php * @param int $severity

* The new error severity. *

* @return void * @removed 7.0 */ function mssql_min_error_severity($severity) {} /** * (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
* Sets the minimum message severity * @link https://php.net/manual/en/function.mssql-min-message-severity.php * @param int $severity

* The new message severity. *

* @return void * @removed 7.0 */ function mssql_min_message_severity($severity) {} /** * (PHP 4 >= 4.0.7, PHP 5, PECL odbtp >= 1.1.1)
* Initializes a stored procedure or a remote stored procedure * @link https://php.net/manual/en/function.mssql-init.php * @param string $sp_name

* Stored procedure name, like ownew.sp_name or * otherdb.owner.sp_name. *

* @param resource $link_identifier [optional]

* A MS SQL link identifier, returned by * mssql_connect. *

* @return resource|false a resource identifier "statement", used in subsequent calls to * mssql_bind and mssql_execute, * or false on errors. * @removed 7.0 */ function mssql_init($sp_name, $link_identifier = null) {} /** * (PHP 4 >= 4.0.7, PHP 5, PECL odbtp >= 1.1.1)
* Adds a parameter to a stored procedure or a remote stored procedure * @link https://php.net/manual/en/function.mssql-bind.php * @param resource $stmt

* Statement resource, obtained with mssql_init. *

* @param string $param_name

* The parameter name, as a string. *

*

* You have to include the @ character, like in the * T-SQL syntax. See the explanation included in * mssql_execute. *

* @param mixed &$var

* The PHP variable you'll bind the MSSQL parameter to. It is passed by * reference, to retrieve OUTPUT and RETVAL values after * the procedure execution. *

* @param int $type

* One of: SQLTEXT, * SQLVARCHAR, SQLCHAR, * SQLINT1, SQLINT2, * SQLINT4, SQLBIT, * SQLFLT4, SQLFLT8, * SQLFLTN. *

* @param bool $is_output [optional]

* Whether the value is an OUTPUT parameter or not. If it's an OUTPUT * parameter and you don't mention it, it will be treated as a normal * input parameter and no error will be thrown. *

* @param bool $is_null [optional]

* Whether the parameter is null or not. Passing the null value as * var will not do the job. *

* @param int $maxlen [optional]

* Used with char/varchar values. You have to indicate the length of the * data so if the parameter is a varchar(50), the type must be * SQLVARCHAR and this value 50. *

* @return bool true on success or false on failure. * @removed 7.0 */ function mssql_bind($stmt, $param_name, &$var, $type, $is_output = false, $is_null = false, $maxlen = -1) {} /** * (PHP 4 >= 4.0.7, PHP 5, PECL odbtp >= 1.1.1)
* Executes a stored procedure on a MS SQL server database * @link https://php.net/manual/en/function.mssql-execute.php * @param resource $stmt

* Statement handle obtained with mssql_init. *

* @param bool $skip_results [optional]

* Whenever to skip the results or not. *

* @return mixed * @removed 7.0 */ function mssql_execute($stmt, $skip_results = false) {} /** * (PHP 4 >= 4.3.2, PHP 5, PECL odbtp >= 1.1.1)
* Free statement memory * @link https://php.net/manual/en/function.mssql-free-statement.php * @param resource $stmt

* Statement resource, obtained with mssql_init. *

* @return bool true on success or false on failure. * @removed 7.0 */ function mssql_free_statement($stmt) {} /** * (PHP 4 >= 4.0.7, PHP 5, PECL odbtp >= 1.1.1)
* Converts a 16 byte binary GUID to a string * @link https://php.net/manual/en/function.mssql-guid-string.php * @param string $binary

* A 16 byte binary GUID. *

* @param bool $short_format [optional]

* Whenever to use short format. *

* @return string the converted string on success. * @removed 7.0 */ function mssql_guid_string($binary, $short_format = null) {} /** * Return an associative array. Used on * mssql_fetch_array's * result_type parameter. * @link https://php.net/manual/en/mssql.constants.php */ define('MSSQL_ASSOC', 1); /** * Return an array with numeric keys. Used on * mssql_fetch_array's * result_type parameter. * @link https://php.net/manual/en/mssql.constants.php */ define('MSSQL_NUM', 2); /** * Return an array with both numeric keys and * keys with their field name. This is the * default value for mssql_fetch_array's * result_type parameter. * @link https://php.net/manual/en/mssql.constants.php */ define('MSSQL_BOTH', 3); /** * Indicates the 'TEXT' type in MSSQL, used by * mssql_bind's type * parameter. * @link https://php.net/manual/en/mssql.constants.php */ define('SQLTEXT', 35); /** * Indicates the 'VARCHAR' type in MSSQL, used by * mssql_bind's type * parameter. * @link https://php.net/manual/en/mssql.constants.php */ define('SQLVARCHAR', 39); /** * Indicates the 'CHAR' type in MSSQL, used by * mssql_bind's type * parameter. * @link https://php.net/manual/en/mssql.constants.php */ define('SQLCHAR', 47); /** * Represents one byte, with a range of -128 to 127. * @link https://php.net/manual/en/mssql.constants.php */ define('SQLINT1', 48); /** * Represents two bytes, with a range of -32768 * to 32767. * @link https://php.net/manual/en/mssql.constants.php */ define('SQLINT2', 52); /** * Represents four bytes, with a range of -2147483648 * to 2147483647. * @link https://php.net/manual/en/mssql.constants.php */ define('SQLINT4', 56); /** * Indicates the 'BIT' type in MSSQL, used by * mssql_bind's type * parameter. * @link https://php.net/manual/en/mssql.constants.php */ define('SQLBIT', 50); /** * Represents an four byte float. * @link https://php.net/manual/en/mssql.constants.php */ define('SQLFLT4', 59); /** * Represents an eight byte float. * @link https://php.net/manual/en/mssql.constants.php */ define('SQLFLT8', 62); define('SQLFLTN', 109); // End of mssql v.