« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 21 for connectionInfo (0.001 sec.)
sqlsrv_connect — Opens a connection to a Microsoft SQL Server database | PHP 8.... 15847
sqlsrv_connect (No version information available, might only be in Git) sqlsrv_connect — Opens a connection to a Microsoft SQL Server database 説明 function sqlsrv_connect ( string $serverName , array $connectionInfo = ? ): resource Opens a ... t to a specific instance, follow the server name with a backward slash and the instance name (e.g. serverName\sqlexpress). connectionInfo An associative array that specifies options for connecting to the server. If values for the UID and PWD keys are not speci ... n. <?php $serverName = "serverName\\sqlexpress" ; //serverName\instanceName // Since UID and PWD are not specified in the $connectionInfo array, // The connection will be attempted using Windows Authentication. $connectionInfo = array( "Database" => "dbName" ) ... ; $conn = sqlsrv_connect ( $serverName , $connectionInfo ); if( $conn ) { echo "Connection established.<br />" ; }else{ echo "Connection could not be established.<br />" ; die( pr ...
https://man.mtool.work/php/8.3/function.sqlsrv-connect.html
sqlsrv_fetch_array — 行を配列として返す | PHP 8.3 9167
sqlsrv_fetch_array (No version information available, might only be in Git) sqlsrv_fetch_array — 行を配列として返す 説明 function sqlsrv_fetch_array ( resource $stmt , int $fetchType = ? , int $row = ? , int $offset = ? ): array クエリ結果か ... ます。エラーが起きた場合は false を返します。 例 例1 連想配列を扱う場合の例 <?php $serverName = "serverName\instanceName" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $serverName , $con ... me' ]. "<br />" ; } sqlsrv_free_stmt ( $stmt ); ?> 例2 配列を扱う場合の例 <?php $serverName = "serverName\instanceName" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $serverName , $con ...
https://man.mtool.work/php/8.3/function.sqlsrv-fetch-array.html
sqlsrv_has_rows — Indicates whether the specified statement has rows | PHP 8.3 8625
sqlsrv_has_rows (No version information available, might only be in Git) sqlsrv_has_rows — Indicates whether the specified statement has rows 説明 function sqlsrv_has_rows ( resource $stmt ): bool Indicates whether the specified statement h ... nt does not have rows or if an error occurred. 例 例1 sqlsrv_has_rows() example <?php $server = "serverName\sqlexpress" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $server , $connect ...
https://man.mtool.work/php/8.3/function.sqlsrv-has-rows.html
sqlsrv_num_fields — Retrieves the number of fields (columns) on a statement | P... 8355
sqlsrv_num_fields (No version information available, might only be in Git) sqlsrv_num_fields — Retrieves the number of fields (columns) on a statement 説明 function sqlsrv_num_fields ( resource $stmt ): mixed Retrieves the number of fields ... lds on success. Returns false otherwise. 例 例1 sqlsrv_num_fields() example <?php $serverName = "serverName\sqlexpress" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $serverName , $con ...
https://man.mtool.work/php/8.3/function.sqlsrv-num-fields.html
sqlsrv_field_metadata — Retrieves metadata for the fields of a statement prepar... 8219
sqlsrv_field_metadata (No version information available, might only be in Git) sqlsrv_field_metadata — Retrieves metadata for the fields of a statement prepared by sqlsrv_prepare() or sqlsrv_query() 説明 function sqlsrv_field_metadata ( res ... the Microsoft SQLSRV documentation. 例 例1 sqlsrv_field_metadata() example <?php $serverName = "serverName\sqlexpress" ; $connectionInfo = array( "Database" => "AdventureWorks" , "UID" => "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $serverNam ... e , $connectionInfo ); if( $conn === false ) { die( print_r ( sqlsrv_errors (), true )); } $sql = "SELECT * FROM Table_1" ; $stmt = sqlsrv_pre ...
https://man.mtool.work/php/8.3/function.sqlsrv-field-metadata.html
sqlsrv_free_stmt — Frees all resources for the specified statement | PHP 8.3 8219
sqlsrv_free_stmt (No version information available, might only be in Git) sqlsrv_free_stmt — Frees all resources for the specified statement 説明 function sqlsrv_free_stmt ( resource $stmt ): bool Frees all resources for the specified state ... rue を、失敗した場合に false を返します。 例 例1 sqlsrv_free_stmt() example <?php $serverName = "serverName\sqlexpress" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $serverName , $con ...
https://man.mtool.work/php/8.3/function.sqlsrv-free-stmt.html
sqlsrv_num_rows — Retrieves the number of rows in a result set | PHP 8.3 8219
sqlsrv_num_rows (No version information available, might only be in Git) sqlsrv_num_rows — Retrieves the number of rows in a result set 説明 function sqlsrv_num_rows ( resource $stmt ): mixed Retrieves the number of rows in a result set. Th ... or dynamic cursor is used, false is returned. 例 例1 sqlsrv_num_rows() example <?php $server = "serverName\sqlexpress" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $server , $connect ...
https://man.mtool.work/php/8.3/function.sqlsrv-num-rows.html
sqlsrv_rows_affected — Returns the number of rows modified by the last INSERT, ... 8219
sqlsrv_rows_affected (No version information available, might only be in Git) sqlsrv_rows_affected — Returns the number of rows modified by the last INSERT, UPDATE, or DELETE query executed 説明 function sqlsrv_rows_affected ( resource $stm ... an error occurred, false is returned. 例 例1 sqlsrv_rows_affected() example <?php $serverName = "serverName\sqlexpress" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $serverName , $con ...
https://man.mtool.work/php/8.3/function.sqlsrv-rows-affected.html
sqlsrv_send_stream_data — Sends data from parameter streams to the server | PHP... 8219
sqlsrv_send_stream_data (No version information available, might only be in Git) sqlsrv_send_stream_data — Sends data from parameter streams to the server 説明 function sqlsrv_send_stream_data ( resource $stmt ): bool Send data from paramet ... to send and false if there is not. 例 例1 sqlsrv_send_stream_data() example <?php $serverName = "serverName\sqlexpress" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $serverName , $con ...
https://man.mtool.work/php/8.3/function.sqlsrv-send-stream-data.html
sqlsrv_cancel — Cancels a statement | PHP 8.3 8084
sqlsrv_cancel (No version information available, might only be in Git) sqlsrv_cancel — Cancels a statement 説明 function sqlsrv_cancel ( resource $stmt ): bool Cancels a statement. Any results associated with the statement that have not bee ... に true を、失敗した場合に false を返します。 例 例1 sqlsrv_cancel() example <?php $serverName = "serverName\sqlexpress" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $serverName , $con ...
https://man.mtool.work/php/8.3/function.sqlsrv-cancel.html
PREV 1 2 3 NEXT