大家好,我是Phpstudy的开发者猪哥。

Phpstudy是我个人业余时间开发并维,针对phpstudy 后门事件,在这里做一下澄清,这个事件早在2018年12月案件相关网警就已经在公司进行调查,取证,已证明与phpstudy官网无关,软件是被不法分子二次修改。再上传到其他下载站。大家只要官网下载的就不会有问题。

具体声明: 链接

mssql_fetch_row

mssql_fetch_row

(PHP 4, PHP 5, PECL odbtp >= 1.1.1)

mssql_fetch_rowGet row as enumerated array

说明

array mssql_fetch_row ( resource $result )

mssql_fetch_row() fetches one row of data from the result associated with the specified result identifier. The row is returned as an array. Each result column is stored in an array offset, starting at offset 0.

Subsequent call to mssql_fetch_row() would return the next row in the result set, or FALSE if there are no more rows.

参数

result

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

返回值

Returns an array that corresponds to the fetched row, or FALSE if there are no more rows.

范例

Example #1 mssql_fetch_row() example

<?php
// Connect to MSSQL and select the database
$link mssql_connect('MANGOSQLEXPRESS''sa''phpfi');
mssql_select_db('php'$link);

// Query to execute
$query mssql_query('SELECT [id], [quote] FROM [quotes] WHERE [id] = '42''$link);

// Did the query fail?
if (!$query) {
    die(
'MSSQL error: ' mssql_get_last_message());
}

// Fetch the row
$row mssql_fetch_row($query);

// Print the 'quote'
echo 'Quote #' $row[0] . ': "' $row[1] . '"';
?>

以上例程的输出类似于:

Quote #42: "The answer to everything..."

注释

Note: 此函数将 NULL 字段设置为 PHP NULL 值。

参见


  • mssql_bind
  • mssql_close
  • mssql_connect
  • mssql_data_seek
  • mssql_execute
  • mssql_fetch_array
  • mssql_fetch_assoc
  • mssql_fetch_batch
  • mssql_fetch_field
  • mssql_fetch_object
  • mssql_fetch_row
  • mssql_field_length
  • mssql_field_name
  • mssql_field_seek
  • mssql_field_type
  • mssql_free_result
  • mssql_free_statement
  • mssql_get_last_message
  • mssql_guid_string
  • mssql_init
  • mssql_min_error_severity
  • mssql_min_message_severity
  • mssql_next_result
  • mssql_num_fields
  • mssql_num_rows
  • mssql_pconnect
  • mssql_query
  • mssql_result
  • mssql_rows_affected
  • mssql_select_db
  • PHP MySQL HTML CSS JavaScript MSSQL AJAX .NET JSP Linux Mac ASP 服务器 SQL jQuery C# C++ java Android IOS oracle MongoDB SQLite wamp 交通频道

    无数据提示还没有评论,楼主喊你快去抢前排~~~我要评论
    微信扫码登陆

    打开 微信
    扫一扫登录