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:
Martin Samesch 2009-12-20 18:18:25 +00:00
parent 16c0cd7a2f
commit 81da5c390e

View file

@ -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