mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
only field length is printed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292371 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
16c0cd7a2f
commit
81da5c390e
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ mssql_select_db('php');
|
|||
// Send a select query to MSSQL
|
||||
$query = mssql_query('SELECT [name], [age] FROM [php].[dbo].[persons]');
|
||||
|
||||
// Print the field type and length
|
||||
// Print the field length
|
||||
echo 'The field \'age\' has a data length of ' . mssql_field_length($query, 1);
|
||||
|
||||
// Free the query result
|
||||
|
|
Loading…
Reference in a new issue