Join Up!
96654 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previousmysql_fetch_fieldmysql_fetch_objectnext
Last updated: Tue, 28 May 2002
view the printer friendly version or the printer friendly version with notes or change language to Czech | German | Spanish

mysql_fetch_lengths

(PHP 3, PHP 4 >= 4.0.0)

mysql_fetch_lengths --  Get the length of each output in a result

Description

array mysql_fetch_lengths ( resource result)

Returns an array that corresponds to the lengths of each field in the last row fetched by mysql_fetch_row(), or FALSE on error.

mysql_fetch_lengths() stores the lengths of each result column in the last row returned by mysql_fetch_row(), mysql_fetch_array(), and mysql_fetch_object() in an array, starting at offset 0.

See also: mysql_fetch_row().

User Contributed Notes
mysql_fetch_lengths
add a note about notes
There are no user contributed notes for this page.
previousmysql_fetch_fieldmysql_fetch_objectnext
Last updated: Tue, 28 May 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST