PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mysql_fetch_object> <mysql_fetch_field
Last updated: Sat, 24 Mar 2007

view this page in

mysql_fetch_lengths

(PHP 4, PHP 5, PECL mysql:1.0)

mysql_fetch_lengths — Zjistí délku všech položek aktuálního výstupu

Popis

array mysql_fetch_lengths ( resource $result )

Vrácí pole obsahující délku každého sloupce v posledně načteném záznamu pomocí mysql_fetch_row(), nebo FALSE dojde-li k chybě.

mysql_fetch_lengths() obsahuje délky hodnot všech vrácených sloupců posledního načteného záznamu pomocí mysql_fetch_row(), mysql_fetch_array(), a mysql_fetch_object() v poli, začínajícího klíčem 0.

Viz. také: mysql_fetch_row().



add a note add a note User Contributed Notes
mysql_fetch_lengths
09-Feb-2006 06:23
For the maximum length of a field (e.g. 10 for a VARCHAR(10) field), use mysql_field_len().

mysql_fetch_object> <mysql_fetch_field
Last updated: Sat, 24 Mar 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites