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

search for in the

mysql_fetch_object> <mysql_fetch_field
Last updated: Fri, 14 Nov 2008

view this page in

mysql_fetch_lengths

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

mysql_fetch_lengths Pobiera długość każdego pola w wierszu wyniku

Opis

array mysql_fetch_lengths ( resource $wynik )

Zwraca tablicę zawierającą długość każdego pola z wiersza ostatnio pobranego przez mysql_fetch_row(), lub FALSE, jeżeli wystąpi błąd.

mysql_fetch_lengths() zapisuje w tablicy długości wszystkich pól z ostatniego wiersza pobranego przez funkcje mysql_fetch_row(), mysql_fetch_array() i mysql_fetch_object() zaczynając od ofsetu 0.

Patrz także: mysql_fetch_row().



add a note add a note User Contributed Notes
mysql_fetch_lengths
10-Feb-2006 02: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: Fri, 14 Nov 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites